TextInputType.numberWithOptions constructor
Optimize for numerical information.
Requests a numeric keyboard with additional settings.
The signed
and decimal
parameters are optional.
Implementation
const TextInputType.numberWithOptions({
this.signed = false,
this.decimal = false,
}) : index = 2;