VInput constructor
VInput({
- Key? key,
- TextEditingController? myLocalController,
- String? leadingSvgIcon,
- String? trailingSvgIcon,
- int? maxNumOfLines,
- int? minNumOfLines,
- String? topLabelText,
- bool hasError = false,
- bool isEnabled = true,
- bool hideText = false,
- int? textLength,
- bool maxLengthEnforced = false,
- TextAlign alignText = TextAlign.left,
- TextInputType? keyboardType,
- TextInputAction? inputAction,
- bool expand = false,
- bool showScrollbar = false,
- dynamic saved()?,
- dynamic editingComplete()?,
- dynamic onSubmitted()?,
- dynamic changed()?,
- dynamic tapped()?,
- dynamic onPressed()?,
- String? errorText = "This field can't be empty",
- Widget? inlineMessage,
- FocusNode? inputFocusNode,
- bool isTopLabelCenter = false,
- double? textSize,
- bool isPrefix = false,
- bool isSuffix = false,
- bool isLeading = false,
- bool isTrailing = false,
- String? trailingSemanticLabel,
- double? letterSpacing,
- double? cursorHeight,
- Widget? trailingIcon,
- bool? appearOnFocus = false,
- bool isReadOnly = false,
- bool? isFocused = false,
- bool hasInlineMessage = false,
- Widget? prefix,
- Widget? suffix,
- VInputStyle? style,
- VExt? vExt,
- bool? isLabelInLine = false,
- List<
TextInputFormatter> ? inputFormatters, - void onDidGainAccessibilityFocus()?,
- bool isComboBox = false,
- TextCapitalization textCapitalization = TextCapitalization.none,
- bool autoCorrect = false,
- List<
String> ? autofillHints, - bool enableSuggestions = true,
- String? inputSemanticReadout,
- String hintText = "",
- TextStyle? hintTextStyle,
- String? obscuringCharacter,
- String? initialValue,
- String? semanticsError = "Error",
- bool? flexHeight = false,
- void onTapOutside()?,
- bool? enableInteractiveSelection,
Implementation
VInput({
Key? key,
this.myLocalController,
this.leadingSvgIcon,
this.trailingSvgIcon,
this.maxNumOfLines,
this.minNumOfLines,
this.topLabelText,
this.hasError = false,
this.isEnabled = true,
this.hideText = false,
this.textLength,
this.maxLengthEnforced = false,
this.alignText = TextAlign.left,
this.keyboardType,
this.inputAction,
this.expand = false,
this.showScrollbar = false,
this.saved,
this.editingComplete,
this.onSubmitted,
this.changed,
this.tapped,
this.onPressed,
this.errorText = "This field can't be empty",
this.inlineMessage,
this.inputFocusNode,
this.isTopLabelCenter = false,
this.textSize,
this.isPrefix = false,
this.isSuffix = false,
this.isLeading = false,
this.isTrailing = false,
this.trailingSemanticLabel,
this.letterSpacing,
this.cursorHeight,
this.trailingIcon,
this.appearOnFocus = false,
this.isReadOnly = false,
this.isFocused = false,
this.hasInlineMessage = false,
this.prefix,
this.suffix,
this.style,
this.vExt,
this.isLabelInLine = false,
this.inputFormatters,
this.onDidGainAccessibilityFocus,
this.isComboBox = false,
this.textCapitalization = TextCapitalization.none,
this.autoCorrect = false,
this.autofillHints,
this.enableSuggestions = true,
this.inputSemanticReadout,
this.hintText = "",
this.hintTextStyle,
this.obscuringCharacter,
this.initialValue,
this.semanticsError = "Error",
this.flexHeight = false,
this.onTapOutside,
this.enableInteractiveSelection,
}) : super(key: key);