VInput constructor

VInput({
  1. Key? key,
  2. TextEditingController? myLocalController,
  3. String? leadingSvgIcon,
  4. String? trailingSvgIcon,
  5. int? maxNumOfLines,
  6. int? minNumOfLines,
  7. String? topLabelText,
  8. bool hasError = false,
  9. bool isEnabled = true,
  10. bool hideText = false,
  11. int? textLength,
  12. bool maxLengthEnforced = false,
  13. TextAlign alignText = TextAlign.left,
  14. TextInputType? keyboardType,
  15. TextInputAction? inputAction,
  16. bool expand = false,
  17. bool showScrollbar = false,
  18. dynamic saved(
    1. String?
    )?,
  19. dynamic editingComplete()?,
  20. dynamic onSubmitted(
    1. String?
    )?,
  21. dynamic changed(
    1. String?
    )?,
  22. dynamic tapped()?,
  23. dynamic onPressed()?,
  24. String? errorText = "This field can't be empty",
  25. Widget? inlineMessage,
  26. FocusNode? inputFocusNode,
  27. bool isTopLabelCenter = false,
  28. double? textSize,
  29. bool isPrefix = false,
  30. bool isSuffix = false,
  31. bool isLeading = false,
  32. bool isTrailing = false,
  33. String? trailingSemanticLabel,
  34. double? letterSpacing,
  35. double? cursorHeight,
  36. Widget? trailingIcon,
  37. bool? appearOnFocus = false,
  38. bool isReadOnly = false,
  39. bool? isFocused = false,
  40. bool hasInlineMessage = false,
  41. Widget? prefix,
  42. Widget? suffix,
  43. VInputStyle? style,
  44. VExt? vExt,
  45. bool? isLabelInLine = false,
  46. List<TextInputFormatter>? inputFormatters,
  47. void onDidGainAccessibilityFocus()?,
  48. bool isComboBox = false,
  49. TextCapitalization textCapitalization = TextCapitalization.none,
  50. bool autoCorrect = false,
  51. List<String>? autofillHints,
  52. bool enableSuggestions = true,
  53. String? inputSemanticReadout,
  54. String hintText = "",
  55. TextStyle? hintTextStyle,
  56. String? obscuringCharacter,
  57. String? initialValue,
  58. String? semanticsError = "Error",
  59. bool? flexHeight = false,
  60. void onTapOutside(
    1. PointerDownEvent
    )?,
  61. 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);