FormuxInputInteger class abstract
- Inheritance
-
- Object
- FormuxInput<
int?> - FormuxInputInteger
Constructors
-
FormuxInputInteger({required List<
int> items, int? value, bool required = true})
Properties
- display → bool
-
Display error
no setterinherited
- displayOnUpdate ↔ bool
-
Display changes in every input value change
getter/setter pairinherited
- error → String?
-
Current input error
no setterinherited
- errors ↔ bool
-
Show input error
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoading → bool
-
Getter
Get is input is loadingno setterinherited -
items
↔ List<
int> -
getter/setter pair
-
messages
→ List<
String> -
Error messages
no setterinherited
- pass → bool
-
Getter
Input passed or failedno setterinherited - required ↔ bool
-
Input value is required
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ int?
-
Getter
Input valuegetter/setter pairinherited
Methods
-
addError(
String message) → void -
Add custom error
inherited
-
assertion(
bool condition, String message) → void -
Assertion for invalidate input
inherited
-
clear(
) → void -
Abstract
Clear inputinherited -
hideErrors(
) → void -
Hide input errors
inherited
-
isRequired(
) → void -
Make input required
inherited
-
loaded(
) → void -
Is loaded flag
inherited
-
loading(
) → void -
Is loading flag
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
passer(
) → void -
Throw if input isn't pass
inherited
-
showErrors(
) → void -
Show input errors
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void -
Validate input
inherited
-
validator(
) → void -
Abstract
Input validatorinherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited