TextAreaUiState constructor

const TextAreaUiState({
  1. @Default(null) String? label,
  2. @Default(null) String? helperMessage,
  3. @Default(null) String? placeholder,
  4. @Default(null) int? maxCount,
  5. @Default(null) int? maxLines,
  6. @Default("") String text,
  7. @Default(null) TextInputType? inputType,
  8. @Default(TextInputAction.done) TextInputAction textInputAction,
  9. @Default(TextInputFocusState.focusout()) TextInputFocusState focusState,
  10. @Default(TextInputErrorState.none()) TextInputErrorState errorState,
  11. @Default(TextInputState.inactive) TextInputState state,
  12. @Default(null) Color? backgroundColor,
  13. @Default(null) TextSelection? textSelection,
})

Implementation

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