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
-
stream
→ Stream<
TextFieldState> -
The stream to which the event is transmitted
no setterinherited
- validator → RegExp
-
Validator of regex
final
- value → TextFieldState
-
Current value of stream
no setterinherited
Methods
-
accept(
TextFieldState data) → Future< void> -
Acceptance of a new event
inherited
-
acceptUnique(
TextFieldState data) → Future< void> -
Accepts new
data
if current value is not equal todata
inherited -
content(
String data) → Future< void> -
Acceptance of a new entity event
override
-
dispose(
) → void -
inherited
-
error(
[Exception? error]) → Future< void> -
Setting the event data is error
override
-
loading(
) → Future< void> -
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