number constant

TextInputType const number = TextInputType.numberWithOptions()

Optimize for unsigned numerical information without a decimal point.

Requests a default keyboard with ready access to the number keys. Additional options, such as decimal point and/or positive/negative signs, can be requested using new TextInputType.numberWithOptions.

Implementation

static const TextInputType number = TextInputType.numberWithOptions()