FormNumberRangeValidator class
- Inheritance
-
- Object
- FormValidator
- FormNumberRangeValidator
Constructors
- FormNumberRangeValidator({double? min, double? max, String? defaultErrorMessage = "Invalid number"})
Properties
- defaultErrorMessage ↔ String?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- max ↔ double?
-
getter/setter pair
- min ↔ double?
-
getter/setter pair
- onValidateError ↔ String Function(FormItem item)?
-
getter/setter pairinherited
- result ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doValidate(
FormItem item) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
FormItem item) → bool -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited