TextAreaInitialData class

Available extensions
Annotations
  • @freezed

Constructors

TextAreaInitialData.new({@Default(null) String? label, @Default(null) String? helperMessage, @Default(null) String? placeholder, @Default(null) int? maxCount, @Default(null) TextInputType? inputType, @Default(TextInputAction.done) TextInputAction textInputAction, @Default("") String text, @Default(TextInputFocusState.focusout()) TextInputFocusState focusState, @Default(TextInputErrorState.none()) TextInputErrorState errorState, @Default(TextInputState.inactive) TextInputState state, @Default(null) Color? backgroundColor, @Default(null) TextSelection? textSelection})
const
factory
TextAreaInitialData.fromUiState(TextAreaUiState uiState)
factory

Properties

backgroundColor Color?
no setterinherited
copyWith → $TextAreaInitialDataCopyWith<TextAreaInitialData>
Create a copy of TextAreaInitialData 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
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
textInputAction TextInputAction
no setterinherited
textSelection TextSelection?
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() TextAreaUiState

Available on TextAreaInitialData, provided by the TextAreaInitialDataExtension extension

Operators

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