utils/fx_number_input_formatter library
Classes
- FXNumberInputFormatter
-
当输入数字时,用于限制输入的位数;
TextField(
inputFormatters:
//限制整数长度100,小数长度2 FXNumberInputFormatter(integerLength: 100, decimalLength: 2)
, );
//限制整数长度100,小数长度2
FXNumberInputFormatter(integerLength: 100, decimalLength: 2)
,
);