NumberLimitFormatter class
数字输入的精确控制
- Inheritance
-
- Object
- TextInputFormatter
- NumberLimitFormatter
Constructors
- NumberLimitFormatter(int numberLength, int decimalLength)
Properties
- decimalLength → int
-
final
- exp ↔ RegExp
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- numberLength → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
formatEditUpdate(
TextEditingValue oldValue, TextEditingValue newValue) → TextEditingValue -
Called when text is being typed or cut/copy/pasted in the EditableText.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited