CommonTextInputModel class
Constructors
-
CommonTextInputModel({Key? key, String? hint, TextInputType? textInputType, bool? isRequired = false, bool? withBorderSide = true, bool? underlined = false, bool? isCollapsed = false, bool? readOnly = false, bool? withInputVerification = false, bool? obscureText = false, bool? showCursor = true, bool? enabled = true, bool? autoCorrect = true, bool? autofocus = false, int? minLength = 6, int? maxLength, dynamic fillColor = COMMON_TRANSPARENT_COLOR, dynamic cursorColor = COMMON_PR_COLOR, FocusNode? focusNode, int? maxLines, String? prefixText, String? suffixText, String? counterText = '', String? semanticCounterText, Widget? prefix, Widget? suffix, int? minLines, Radius? cursorRadius, double? cursorHeight, double? cursorWidth = 2.0, double? prefixMinWidth = 0.0, double? prefixMinHeight = 0.0, double? prefixMaxWidth = 0.0, double? prefixMaxHeight = 0.0, double? suffixMinWidth = 0.0, double? suffixMinHeight = 0.0, double? suffixMaxWidth = 0.0, double? suffixMaxHeight = 0.0, double? borderWidth = 1.0, double? radius = 24.0, dynamic hintColor = COMMON_GREY_COLOR, dynamic disabledColor = COMMON_GREY_COLOR, dynamic focusBorderColor = COMMON_GREY_COLOR, dynamic enabledBorderColor = COMMON_GREY_COLOR, dynamic disabledBorderColor = COMMON_GREY_COLOR, dynamic errorBorderColor = COMMON_GREY_COLOR, dynamic errorColor = COMMON_RED_COLOR, dynamic textColor = COMMON_BLACK_COLOR, TextAlign? textAlign = TextAlign.start, String? fontFamily, double? fontSize, int? fontWeight, double? contentPadding = 15.0, double? contentPaddingTop, double? contentPaddingBottom, double? contentPaddingRight, double? contentPaddingLeft, double? contentPaddingVertical, double? contentPaddingHorizontal, TextInputAction? textInputAction, TextStyle? textStyle, TextStyle? hintStyle, TextStyle? prefixStyle, TextStyle? suffixStyle, TextStyle? counterStyle, Pattern? textInputPattern, InputDecoration? inputDecoration, String? text, Widget? prefixWidget, Widget? suffixWidget, Widget? counterWidget, CommonIcon? prefixIcon, CommonIcon? suffixIcon, List<TextInputFormatter>? textInputFormatters, Iterable<String>? autofillHints, AutovalidateMode? autoValidateMode, InputCounterWidgetBuilder? buildCounter, bool? enableInteractiveSelection = true, bool? enableSuggestions = true, bool? expands = false, String? initialValue, Brightness? keyboardAppearance, MaxLengthEnforcement? maxLengthEnforcement, String obscuringCharacter = '•', VoidCallback? onEditingComplete, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, GestureTapCallback? onTap, ScrollController? scrollController, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), TextSelectionControls? selectionControls, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, StrutStyle? strutStyle, TextAlignVertical? textAlignVertical, TextCapitalization textCapitalization = TextCapitalization.none, TextDirection? textDirection, FormFieldValidator<String>? validator})
-
const
Methods
-
copyWith({double? borderWidth, Key? key, double? fontSize, double? radius, double? contentPadding, double? contentPaddingTop, double? contentPaddingBottom, double? contentPaddingRight, double? contentPaddingLeft, double? contentPaddingVertical, double? contentPaddingHorizontal, double? prefixMinWidth, double? prefixMinHeight, double? prefixMaxWidth, double? prefixMaxHeight, double? suffixMinWidth, double? suffixMinHeight, double? suffixMaxWidth, double? suffixMaxHeight, double? cursorHeight, double? cursorWidth, dynamic textColor, dynamic disabledColor, dynamic errorColor, dynamic focusBorderColor, dynamic enabledBorderColor, dynamic disabledBorderColor, dynamic errorBorderColor, dynamic hintColor, dynamic fillColor, dynamic cursorColor, int? maxLength, int? minLength, int? minLines, int? maxLines, Widget? prefixWidget, Widget? suffixWidget, Widget? prefix, Widget? suffix, Widget? counterWidget, CommonIcon? prefixIcon, CommonIcon? suffixIcon, FocusNode? focusNode, int? fontWeight, String? hint, String? fontFamily, String? text, String? prefixText, String? suffixText, String? counterText, String? semanticCounterText, bool? isRequired, bool? withBorderSide, bool? underlined, bool? isCollapsed, bool? readOnly, bool? obscureText, bool? enabled, bool? showCursor, bool? autoCorrect, bool? withInputVerification, TextInputType? textInputType, TextAlign? textAlign, TextInputAction? textInputAction, TextStyle? textStyle, TextStyle? hintStyle, TextStyle? prefixStyle, TextStyle? suffixStyle, TextStyle? counterStyle, Pattern? textInputPattern, List<TextInputFormatter>? textInputFormatters, InputDecoration? inputDecoration, Radius? cursorRadius, Iterable<String>? autofillHints, bool? autofocus, AutovalidateMode? autoValidateMode, InputCounterWidgetBuilder? buildCounter, bool? enableInteractiveSelection, bool? enableSuggestions, bool? expands, String? initialValue, String? obscuringCharacter, Brightness? keyboardAppearance, VoidCallback? onEditingComplete, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, GestureTapCallback? onTap, ScrollController? scrollController, EdgeInsets? scrollPadding, TextSelectionControls? selectionControls, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, StrutStyle? strutStyle, TextAlignVertical? textAlignVertical, TextCapitalization? textCapitalization, TextDirection? textDirection, FormFieldValidator<String>? validator, MaxLengthEnforcement? maxLengthEnforcement})
→ CommonTextInputModel
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited