number constant
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 TextInputType.numberWithOptions.
Implementation
static const TextInputType number = TextInputType.numberWithOptions();