IPreprocessor class abstract
Some form fields might require an initial data that is used in a value preparation, e.g. a LitePhoneInputField might require country data, phone code etc. It utilizes a custom IPreprocessor to set all that data before changing a value The preprocessor is connected to its field and does not depend on a widget's state
See an example in LitePhoneInputField
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view → String?
-
It's a value that is displayed on a field UI.
Some fields use complex data but use strings to display it
e.g. LitePhoneInputField returns PhoneData but uses a String phone
on the UI
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preprocess(
Object? value) → Object? - preprocess is called internally before setting a field value if the preprocessor is connected to the field
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited