Constructors
TextInputViewModel ({dynamic id , String ? labelText , String ? hintText , String ? infoText , bool showInfoTextWhenFocusedOnly , String ? errorText , bool swapLabelAndHintTextWhenUnfocused , String inputValue , TextInputAction ? textInputAction , TextCapitalization ? textCapitalization , String ? suffixIconAsset , String ? obscuredSuffixIconAsset , bool isInputObscured , String obscuringCharacter , TextInputType ? textInputType , bool isReadOnly , bool isHidden , bool isDisabled , bool isHighlighted , bool isSuggestionInput , int maxLines , bool isAutoFocused , bool ? showCursorOnlyOnFocus , int ? maxLength , AutovalidateMode ? autoValidateMode , List <TextInputFormatter > ? inputFormatters })
const
factory
Methods
map <TResult extends Object ? > ({required TResult text (TextInputViewModel value ), required TResult singleSelect (SingleSelectInputViewModel value ), required TResult multipleSelect (MultipleSelectInputViewModel value ), required TResult toggledValue (ToggledValueInputViewModel value ) })
→ TResult
inherited
mapOrNull <TResult extends Object ? > ({TResult? text (TextInputViewModel value )?, TResult? singleSelect (SingleSelectInputViewModel value )?, TResult? multipleSelect (MultipleSelectInputViewModel value )?, TResult? toggledValue (ToggledValueInputViewModel value )? })
→ TResult?
inherited
maybeMap <TResult extends Object ? > ({TResult text (TextInputViewModel value )?, TResult singleSelect (SingleSelectInputViewModel value )?, TResult multipleSelect (MultipleSelectInputViewModel value )?, TResult toggledValue (ToggledValueInputViewModel value )?, required TResult orElse () })
→ TResult
inherited
maybeWhen <TResult extends Object ? > ({TResult text (dynamic id , String ? labelText , String ? hintText , String ? infoText , bool showInfoTextWhenFocusedOnly , String ? errorText , bool swapLabelAndHintTextWhenUnfocused , String inputValue , TextInputAction ? textInputAction , TextCapitalization ? textCapitalization , String ? suffixIconAsset , String ? obscuredSuffixIconAsset , bool isInputObscured , String obscuringCharacter , TextInputType ? textInputType , bool isReadOnly , bool isHidden , bool isDisabled , bool isHighlighted , bool isSuggestionInput , int maxLines , bool isAutoFocused , bool ? showCursorOnlyOnFocus , int ? maxLength , AutovalidateMode ? autoValidateMode , List <TextInputFormatter > ? inputFormatters )?, TResult singleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , String ? infoText , dynamic value , List <SelectOptionViewModel > ? options , bool isHidden , bool isReadOnly , bool isDisabled )?, TResult multipleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , List ? values , List <SelectOptionViewModel > ? options )?, TResult toggledValue (dynamic id , bool value , String label , String ? errorText )?, required TResult orElse () })
→ TResult
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
when <TResult extends Object ? > ({required TResult text (dynamic id , String ? labelText , String ? hintText , String ? infoText , bool showInfoTextWhenFocusedOnly , String ? errorText , bool swapLabelAndHintTextWhenUnfocused , String inputValue , TextInputAction ? textInputAction , TextCapitalization ? textCapitalization , String ? suffixIconAsset , String ? obscuredSuffixIconAsset , bool isInputObscured , String obscuringCharacter , TextInputType ? textInputType , bool isReadOnly , bool isHidden , bool isDisabled , bool isHighlighted , bool isSuggestionInput , int maxLines , bool isAutoFocused , bool ? showCursorOnlyOnFocus , int ? maxLength , AutovalidateMode ? autoValidateMode , List <TextInputFormatter > ? inputFormatters ), required TResult singleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , String ? infoText , dynamic value , List <SelectOptionViewModel > ? options , bool isHidden , bool isReadOnly , bool isDisabled ), required TResult multipleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , List ? values , List <SelectOptionViewModel > ? options ), required TResult toggledValue (dynamic id , bool value , String label , String ? errorText ) })
→ TResult
inherited
whenOrNull <TResult extends Object ? > ({TResult? text (dynamic id , String ? labelText , String ? hintText , String ? infoText , bool showInfoTextWhenFocusedOnly , String ? errorText , bool swapLabelAndHintTextWhenUnfocused , String inputValue , TextInputAction ? textInputAction , TextCapitalization ? textCapitalization , String ? suffixIconAsset , String ? obscuredSuffixIconAsset , bool isInputObscured , String obscuringCharacter , TextInputType ? textInputType , bool isReadOnly , bool isHidden , bool isDisabled , bool isHighlighted , bool isSuggestionInput , int maxLines , bool isAutoFocused , bool ? showCursorOnlyOnFocus , int ? maxLength , AutovalidateMode ? autoValidateMode , List <TextInputFormatter > ? inputFormatters )?, TResult? singleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , String ? infoText , dynamic value , List <SelectOptionViewModel > ? options , bool isHidden , bool isReadOnly , bool isDisabled )?, TResult? multipleSelect (dynamic id , String ? errorText , String ? labelText , String ? hintText , List ? values , List <SelectOptionViewModel > ? options )?, TResult? toggledValue (dynamic id , bool value , String label , String ? errorText )? })
→ TResult?
inherited