TextFieldUiState class
- Available extensions
- Annotations
-
- @freezed
Constructors
- TextFieldUiState.new({@Default(null) String? label, @Default(null) String? helperMessage, @Default(null) String? placeholder, @Default(null) int? maxCount, @Default(1) int maxLine, @Default("") String text, @Default(null) TextInputType? inputType, @Default(TextInputFocusState.focusout()) TextInputFocusState focusState, @Default(TextInputErrorState.none()) TextInputErrorState errorState, @Default(TextInputState.inactive) TextInputState state, @Default(false) bool needToBlockOverflowInput})
-
constfactory
Properties
-
copyWith
→ $TextFieldUiStateCopyWith<
TextFieldUiState> -
Create a copy of TextFieldUiState
with the given fields replaced by the non-null parameter values.
no setterinherited
- errorState → TextInputErrorState
-
no setterinherited
- focusState → TextInputFocusState
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperMessage → String?
-
no setterinherited
- inputType → TextInputType?
-
no setterinherited
- isShowClearIcon → bool
-
Available on TextFieldUiState, provided by the TextFieldUiStateExtension extension
no setter - label → String?
-
no setterinherited
- limitText → String?
-
Available on TextFieldUiState, provided by the TextFieldUiStateExtension extension
no setter - limitTextColor → Color
-
Available on TextFieldUiState, provided by the TextFieldUiStateExtension extension
no setter - maxCount → int?
-
no setterinherited
- maxLine → int
-
no setterinherited
- needToBlockOverflowInput → bool
-
no setterinherited
- placeholder → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → TextInputState
-
no setterinherited
- text → String
-
no setterinherited
- textCount → int
-
Available on TextFieldUiState, provided by the TextFieldUiStateExtension extension
no setter - underlineColor → Color
-
Available on TextFieldUiState, provided by the TextFieldUiStateExtension extension
no setter
Methods
-
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