InputLimitMode class
输入框输入内容控制模型
Constructors
- InputLimitMode(TextEditingController controller, FocusNode focusNode, {int inputType = 0, dynamic maxInput, bool enableInputPoint = false, int maxLength = 5, int maxLengthDecimal = 3})
- 0 表示输入字符串 1 表示输入数字
Properties
- controller ↔ TextEditingController
-
getter/setter pair
- enableInputPoint ↔ bool
-
getter/setter pair
- focusNode ↔ FocusNode
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputType ↔ int
-
getter/setter pair
- maxInput ↔ dynamic
-
getter/setter pair
- maxLength ↔ int
-
getter/setter pair
- maxLengthDecimal ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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