RequiredOptionsInput<T extends Option<M> , M> class
- Inheritance
-
- Object
- Input<
T, T, T, RequiredOptionsConfig< T, M> > - SingleInput<
T, T, T, M, RequiredOptionsConfig< T, M> > - StateInput<
T, T, T, M, RequiredOptionsConfig< T, M> > - OptionsInput<
T, T, T, M, RequiredOptionsConfig< T, M> > - RequiredOptionsInput
Constructors
-
RequiredOptionsInput({required RequiredOptionsConfig<
T, M> config, required ValueNotifier<InputStatus> status, required ValueNotifier<ValidationResult< validationResult, required FocusNode focusNode, required ValueNotifier<M> >T> controller}) -
RequiredOptionsInput.init(RequiredOptionsConfig<
T, M> config) -
factory
Properties
-
config
→ RequiredOptionsConfig<
T, M> -
finalinherited
-
controller
→ ValueNotifier<
T> -
finalinherited
- focusNode → FocusNode
-
finalinherited
- formatted → T
-
this getter must be called after validation and the validation must
check that the type of the controller is T
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setteroverride
- isFull → bool
-
no setteroverride
- isValid → bool
-
no setterinherited
- previousValue ↔ T?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → T
-
no setterinherited
-
status
→ ValueNotifier<
InputStatus> -
finalinherited
-
validationResult
→ ValueNotifier<
ValidationResult< M> > -
finalinherited
- value ← T
-
no getterinherited
Methods
-
addDefaultListeners(
) → void -
inherited
-
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T value) → void -
inherited
-
updateStatus(
{bool? hovered, bool? focused, bool? touched, bool? dirty, bool? empty, bool? full, bool? edited, bool? submitted, FetchStatus? fetch}) → void -
inherited
-
validate(
) → bool -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited