FormuxInputInteger class abstract

Inheritance

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 loading
no setterinherited
items List<int>
getter/setter pair
messages List<String>
Error messages
no setterinherited
pass bool
Getter Input passed or failed
no 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 value
getter/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 input
inherited
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 validator
inherited

Operators

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