Input<T, S, U, C extends InputConfig<S, U>> class sealed

what the initial state can be what the state can change into what the formatted state must be

for example bool can start with bool? but once it is changed to bool it must be bool or it can start with bool? and changed to bool? but formatted is bool

Mixed-in types
Implementers

Properties

config → C
final
formatted → T
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isFull bool
no setter
isValid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → S
no setterinherited
status ValueNotifier<InputStatus>
final
value ← U
no getter

Methods

addDefaultListeners() → void
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(U value) → void
updateStatus({bool? hovered, bool? focused, bool? touched, bool? dirty, bool? empty, bool? full, bool? edited, bool? submitted, FetchStatus? fetch}) → void
validate() bool

Operators

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

Static Methods

init<T, S, U, M, C extends InputConfig<S, U>, I extends Input<T, S, U, C>>(C config) → I