FormuxInput<T> class abstract

Implementers

Constructors

FormuxInput({required T value, bool required = true, bool displayOnUpdate = false})
Constructor

Properties

display bool
Display error
no setter
displayOnUpdate bool
Display changes in every input value change
getter/setter pair
error String?
Current input error
no setter
errors bool
Show input error
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLoading bool
Getter Get is input is loading
no setter
messages List<String>
Error messages
no setter
pass bool
Getter Input passed or failed
no setter
required bool
Input value is required
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
Getter Input value
getter/setter pair

Methods

addError(String message) → void
Add custom error
assertion(bool condition, String message) → void
Assertion for invalidate input
clear() → void
Abstract Clear input
hideErrors() → void
Hide input errors
isRequired() → void
Make input required
loaded() → void
Is loaded flag
loading() → void
Is loading flag
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
passer() → void
Throw if input isn't pass
showErrors() → void
Show input errors
toString() String
A string representation of this object.
inherited
validate() → void
Validate input
validator() → void
Abstract Input validator

Operators

operator ==(Object other) bool
The equality operator.
inherited