ValidatePhoneNumber constructor

const ValidatePhoneNumber({
  1. Key? key,
  2. Key? keey,
  3. TextStyle? style,
  4. void onTap()?,
  5. void onChanged(
    1. String
    )?,
  6. int? maxLines,
  7. required TextEditingController controller,
  8. TextAlign? textAlign,
  9. String? returnError,
  10. bool? autofocus,
  11. TextCapitalization? textCapitalization,
  12. bool? obscureText,
  13. bool? autocorrect,
  14. Iterable<String>? autofillHints,
  15. AutovalidateMode? autovalidateMode,
  16. bool? canRequestFocus,
  17. Clip? clipBehavior,
  18. ContentInsertionConfiguration? contentInsertionConfiguration,
  19. Color? cursorColor,
  20. Color? cursorErrorColor,
  21. double? cursorHeight,
  22. bool? cursorOpacityAnimates,
  23. Radius? cursorRadius,
  24. double? cursorWidth,
  25. DragStartBehavior? dragStartBehavior,
  26. bool? enabled,
  27. bool? enableIMEPersonalizedLearning,
  28. bool? enableInteractiveSelection,
  29. bool? enableSuggestions,
  30. bool? expands,
  31. FocusNode? focusNode,
  32. bool? ignorePointers,
  33. String? initialValue,
  34. Brightness? keyboardAppearance,
  35. TextInputType? keyboardType,
  36. TextMagnifierConfiguration? magnifierConfiguration,
  37. MaxLengthEnforcement? maxLengthEnforcement,
  38. int? minLines,
  39. MouseCursor? mouseCursor,
  40. String? obscuringCharacter,
  41. void onEditingComplete()?,
  42. void onFieldSubmitted(
    1. String
    )?,
  43. void onSaved(
    1. String?
    )?,
  44. bool? onTapAlwaysCalled,
  45. void onTapOutside(
    1. PointerDownEvent
    )?,
  46. bool? readOnly,
  47. String? restorationId,
  48. bool? scribbleEnabled,
  49. ScrollController? scrollController,
  50. EdgeInsets? scrollPadding,
  51. ScrollPhysics? scrollPhysics,
  52. TextSelectionControls? selectionControls,
  53. bool? showCursor,
  54. SmartDashesType? smartDashesType,
  55. SmartQuotesType? smartQuotesType,
  56. SpellCheckConfiguration? spellCheckConfiguration,
  57. WidgetStatesController? statesController,
  58. StrutStyle? strutStyle,
  59. TextAlignVertical? textAlignVertical,
  60. TextDirection? textDirection,
  61. TextInputAction? textInputAction,
  62. UndoHistoryController? undoController,
  63. required dynamic onCountrySelected(
    1. String phoneCode,
    2. String countryCode
    ),
  64. InputBorder? border,
  65. Color? fillColor,
  66. bool? filled,
  67. TextStyle? hintStyle,
  68. Widget? suffix,
  69. Widget? suffixIcon,
  70. String? hintText,
  71. BoxConstraints? constraints,
  72. Widget? icon,
  73. bool? isDense,
  74. TextStyle? labelStyle,
  75. InputBorder? enabledBorder,
  76. bool? alignLabelWithHint,
  77. Widget? counter,
  78. TextStyle? counterStyle,
  79. String? counterText,
  80. InputBorder? disabledBorder,
  81. Widget? error,
  82. InputBorder? errorBorder,
  83. int? errorMaxLines,
  84. TextStyle? errorStyle,
  85. String? errorText,
  86. FloatingLabelAlignment? floatingLabelAlignment,
  87. FloatingLabelBehavior? floatingLabelBehavior,
  88. TextStyle? floatingLabelStyle,
  89. Color? focusColor,
  90. InputBorder? focusedBorder,
  91. InputBorder? focusedErrorBorder,
  92. Widget? helper,
  93. int? helperMaxLines,
  94. TextStyle? helperStyle,
  95. String? helperText,
  96. String? suffixText,
  97. Widget? label,
  98. TextStyle? suffixStyle,
  99. Color? suffixIconColor,
  100. String? labelText,
  101. bool? isCollapsed,
  102. TextDirection? hintTextDirection,
  103. Duration? hintFadeDuration,
  104. int? hintMaxLines,
  105. Color? hoverColor,
  106. Color? iconColor,
})

Implementation

const ValidatePhoneNumber(
    {super.key,
    this.keey,
    this.style,
    this.onTap,
    this.onChanged,
    this.maxLines,
    required this.controller,
    this.textAlign,
    this.returnError,
    this.autofocus,
    this.textCapitalization,
    this.obscureText,
    this.autocorrect,
    this.autofillHints,
    this.autovalidateMode,
    this.canRequestFocus,
    this.clipBehavior,
    this.contentInsertionConfiguration,
    this.cursorColor,
    this.cursorErrorColor,
    this.cursorHeight,
    this.cursorOpacityAnimates,
    this.cursorRadius,
    this.cursorWidth,
    this.dragStartBehavior,
    this.enabled,
    this.enableIMEPersonalizedLearning,
    this.enableInteractiveSelection,
    this.enableSuggestions,
    this.expands,
    this.focusNode,
    this.ignorePointers,
    this.initialValue,
    this.keyboardAppearance,
    this.keyboardType,
    this.magnifierConfiguration,
    this.maxLengthEnforcement,
    this.minLines,
    this.mouseCursor,
    this.obscuringCharacter,
    this.onEditingComplete,
    this.onFieldSubmitted,
    this.onSaved,
    this.onTapAlwaysCalled,
    this.onTapOutside,
    this.readOnly,
    this.restorationId,
    this.scribbleEnabled,
    this.scrollController,
    this.scrollPadding,
    this.scrollPhysics,
    this.selectionControls,
    this.showCursor,
    this.smartDashesType,
    this.smartQuotesType,
    this.spellCheckConfiguration,
    this.statesController,
    this.strutStyle,
    this.textAlignVertical,
    this.textDirection,
    this.textInputAction,
    this.undoController, required this.onCountrySelected, this.border, this.fillColor, this.filled, this.hintStyle, this.suffix, this.suffixIcon, this.hintText, this.constraints, this.icon, this.isDense, this.labelStyle, this.enabledBorder, this.alignLabelWithHint, this.counter, this.counterStyle, this.counterText, this.disabledBorder, this.error, this.errorBorder, this.errorMaxLines, this.errorStyle, this.errorText, this.floatingLabelAlignment, this.floatingLabelBehavior, this.floatingLabelStyle, this.focusColor, this.focusedBorder, this.focusedErrorBorder, this.helper, this.helperMaxLines, this.helperStyle, this.helperText, this.suffixText, this.label, this.suffixStyle, this.suffixIconColor, this.labelText, this.isCollapsed, this.hintTextDirection, this.hintFadeDuration, this.hintMaxLines, this.hoverColor, this.iconColor});