TextFieldInitialData class

Available extensions
Annotations
  • @freezed

Constructors

TextFieldInitialData.new({@Default(null) String? label, @Default(null) String? helperMessage, @Default(null) String? placeholder, @Default(null) int? maxCount, @Default(1) int maxLine, @Default(null) TextInputType? inputType, @Default("") String text, @Default(TextInputFocusState.focusout()) TextInputFocusState focusState, @Default(TextInputErrorState.none()) TextInputErrorState errorState, @Default(TextInputState.inactive) TextInputState state, @Default(false) bool needToBlockOverflowInput})
const
factory
TextFieldInitialData.fromUiState(TextFieldUiState uiState)
factory

Properties

copyWith → $TextFieldInitialDataCopyWith<TextFieldInitialData>
Create a copy of TextFieldInitialData 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
label String?
no setterinherited
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

Methods

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

Available on TextFieldInitialData, provided by the TextFieldInitialDataExtension extension

Operators

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