TextAreaInitialData constructor
const
TextAreaInitialData({
- @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,
Implementation
const factory TextAreaInitialData({
@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,
}) = _TextAreaInitialData;