OptionalBoolInput<M> class
- Inheritance
-
- Object
- Input<
bool, bool?, bool, OptionalBoolConfig< M> > - SingleInput<
bool, bool?, bool, M, OptionalBoolConfig< M> > - StateInput<
bool, bool?, bool, M, OptionalBoolConfig< M> > - BoolInput<
bool, bool?, bool, M, OptionalBoolConfig< M> > - OptionalBoolInput
Constructors
-
OptionalBoolInput({required OptionalBoolConfig<
M> config, required ValueNotifier<InputStatus> status, required ValueNotifier<ValidationResult< validationResult, required FocusNode focusNode, required ValueNotifier<M> >bool?> controller}) -
OptionalBoolInput.init(OptionalBoolConfig<
M> config) -
factory
Properties
-
config
→ OptionalBoolConfig<
M> -
finalinherited
-
controller
→ ValueNotifier<
bool?> -
finalinherited
- focusNode → FocusNode
-
finalinherited
- formatted → bool
-
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 ↔ bool?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → bool?
-
no setterinherited
-
status
→ ValueNotifier<
InputStatus> -
finalinherited
-
validationResult
→ ValueNotifier<
ValidationResult< M> > -
finalinherited
- value ← bool
-
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(
bool 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