ValidatePhoneNumber constructor

const ValidatePhoneNumber({
  1. Key? key,
  2. Key? keey,
  3. TextStyle? style,
  4. void onTap()?,
  5. InputDecoration? decoration,
  6. void onChanged(
    1. String
    )?,
  7. int? maxLines,
  8. TextEditingController? controller,
  9. TextAlign? textAlign,
  10. required String phoneNumber,
  11. required String countryCode,
  12. String? returnError,
  13. bool? autofocus,
  14. TextCapitalization? textCapitalization,
  15. bool? obscureText,
  16. bool? autocorrect,
  17. Iterable<String>? autofillHints,
  18. AutovalidateMode? autovalidateMode,
  19. bool? canRequestFocus,
  20. Clip? clipBehavior,
  21. ContentInsertionConfiguration? contentInsertionConfiguration,
  22. Color? cursorColor,
  23. Color? cursorErrorColor,
  24. double? cursorHeight,
  25. bool? cursorOpacityAnimates,
  26. Radius? cursorRadius,
  27. double? cursorWidth,
  28. DragStartBehavior? dragStartBehavior,
  29. bool? enabled,
  30. bool? enableIMEPersonalizedLearning,
  31. bool? enableInteractiveSelection,
  32. bool? enableSuggestions,
  33. bool? expands,
  34. FocusNode? focusNode,
  35. bool? ignorePointers,
  36. String? initialValue,
  37. List<TextInputFormatter>? inputFormatters,
  38. Brightness? keyboardAppearance,
  39. TextInputType? keyboardType,
  40. TextMagnifierConfiguration? magnifierConfiguration,
  41. int? maxLength,
  42. MaxLengthEnforcement? maxLengthEnforcement,
  43. int? minLines,
  44. MouseCursor? mouseCursor,
  45. String? obscuringCharacter,
  46. void onEditingComplete()?,
  47. void onFieldSubmitted(
    1. String
    )?,
  48. void onSaved(
    1. String?
    )?,
  49. bool? onTapAlwaysCalled,
  50. void onTapOutside(
    1. PointerDownEvent
    )?,
  51. bool? readOnly,
  52. String? restorationId,
  53. bool? scribbleEnabled,
  54. ScrollController? scrollController,
  55. EdgeInsets? scrollPadding,
  56. ScrollPhysics? scrollPhysics,
  57. TextSelectionControls? selectionControls,
  58. bool? showCursor,
  59. SmartDashesType? smartDashesType,
  60. SmartQuotesType? smartQuotesType,
  61. SpellCheckConfiguration? spellCheckConfiguration,
  62. WidgetStatesController? statesController,
  63. StrutStyle? strutStyle,
  64. TextAlignVertical? textAlignVertical,
  65. TextDirection? textDirection,
  66. TextInputAction? textInputAction,
  67. UndoHistoryController? undoController,
})

Implementation

const ValidatePhoneNumber(
    {super.key,
    this.keey,
    this.style,
    this.onTap,
    this.decoration,
    this.onChanged,
    this.maxLines,
    this.controller,
    this.textAlign,
    required this.phoneNumber,
    required this.countryCode,
    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.inputFormatters,
    this.keyboardAppearance,
    this.keyboardType,
    this.magnifierConfiguration,
    this.maxLength,
    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});