TextFieldStreamedState class
Stream view of text field state For validations, it is possible to set restrictions such as validator, mandatory, canEdit
- Inheritance
-
- Object
- StreamedState<
TextFieldState> - TextFieldStreamedState
- Implemented types
Constructors
Properties
- canEdit → bool
-
is can edit text
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- incorrectTextMsg → String
-
Text of error
final
- mandatory → bool
-
Is required for fill
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateSubject
→ BehaviorSubject<
TextFieldState?> -
Behavior state for updating events
finalinherited
-
stream
→ Stream<
TextFieldState?> -
The stream to which the event is transmitted
no setterinherited
- validator → RegExp
-
Validator of regex
final
- value → TextFieldState?
-
current value in stream
no setterinherited
Methods
-
accept(
[TextFieldState? data]) → Future< TextFieldState?> -
Acceptance of a new event
inherited
-
content(
[String data = '']) → Future< TextFieldState?> -
Acceptance of a new entity event
override
-
dispose(
) → void -
inherited
-
error(
[Exception? error]) → Future< TextFieldState?> -
Setting the event data is error
override
-
loading(
) → Future< TextFieldState?> -
Setting the event data is loading
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited