ValidatePhoneNumber constructor
const
ValidatePhoneNumber({
- Key? key,
- Key? keey,
- TextStyle? style,
- void onTap()?,
- InputDecoration? decoration,
- void onChanged()?,
- int? maxLines,
- TextEditingController? controller,
- TextAlign? textAlign,
- required String phoneNumber,
- required String countryCode,
- String? returnError,
- bool? autofocus,
- TextCapitalization? textCapitalization,
- bool? obscureText,
- bool? autocorrect,
- Iterable<
String> ? autofillHints, - AutovalidateMode? autovalidateMode,
- bool? canRequestFocus,
- Clip? clipBehavior,
- ContentInsertionConfiguration? contentInsertionConfiguration,
- Color? cursorColor,
- Color? cursorErrorColor,
- double? cursorHeight,
- bool? cursorOpacityAnimates,
- Radius? cursorRadius,
- double? cursorWidth,
- DragStartBehavior? dragStartBehavior,
- bool? enabled,
- bool? enableIMEPersonalizedLearning,
- bool? enableInteractiveSelection,
- bool? enableSuggestions,
- bool? expands,
- FocusNode? focusNode,
- bool? ignorePointers,
- String? initialValue,
- List<
TextInputFormatter> ? inputFormatters, - Brightness? keyboardAppearance,
- TextInputType? keyboardType,
- TextMagnifierConfiguration? magnifierConfiguration,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- int? minLines,
- MouseCursor? mouseCursor,
- String? obscuringCharacter,
- void onEditingComplete()?,
- void onFieldSubmitted()?,
- void onSaved()?,
- bool? onTapAlwaysCalled,
- void onTapOutside()?,
- bool? readOnly,
- String? restorationId,
- bool? scribbleEnabled,
- ScrollController? scrollController,
- EdgeInsets? scrollPadding,
- ScrollPhysics? scrollPhysics,
- TextSelectionControls? selectionControls,
- bool? showCursor,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- SpellCheckConfiguration? spellCheckConfiguration,
- WidgetStatesController? statesController,
- StrutStyle? strutStyle,
- TextAlignVertical? textAlignVertical,
- TextDirection? textDirection,
- TextInputAction? textInputAction,
- 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});