FormuxInputString class abstract
- Inheritance
-
- Object
- FormuxInput<
String> - FormuxInputString
Constructors
- FormuxInputString({String 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 -
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 ↔ String
-
Getter
Input valuegetter/setter pairinherited - valueOrNull → String?
-
no setter
Methods
-
addError(
String message) → void -
Add custom error
inherited
-
assertion(
bool condition, String message) → void -
Assertion for invalidate input
inherited
-
clear(
) → void -
Abstract
Clear inputoverride -
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
-
update(
dynamic value) → void - Update value from dynamic
-
validate(
) → void -
Validate input
inherited
-
validator(
) → void -
Abstract
Input validatorinherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited