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