ReactiveFieldState class abstract

Abstract wrapper with all the necessary methods and fields to make any input reactive for any changes and validations.

Implementers

Constructors

ReactiveFieldState()

Properties

approvable bool
Indicator whether controller's text should be approved.
getter/setter pair
changed RxBool
Indicator whether controller's text was changed.
no setter
controller TextEditingController
TextEditingController of this ReactiveFieldState.
no setter
editable RxBool
Indicator whether this ReactiveFieldState should be editable or not.
no setter
error RxnString
Reactive error message.
final
focus FocusNode
FocusNode of this ReactiveFieldState used to determine focus changes.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty RxBool
Indicator whether controller's text is empty or not.
no setter
isFocused RxBool
Reactive FocusNode.hasFocus of this ReactiveFieldState.
final
resubmitOnError RxBool
Indicator whether this ReactiveFieldState can still be submitted, when it has an error, or is not changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Rx<RxStatus>
Reactive RxStatus of this ReactiveFieldState.
no setter
submittable RxBool
Indicator whether this ReactiveFieldState can be submitted.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit() → void
Submits this ReactiveFieldState.
toString() String
A string representation of this object.
inherited

Operators

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