ValidatePhoneNumber constructor
const
ValidatePhoneNumber({
- Key? key,
- Key? keey,
- TextStyle? style,
- void onTap()?,
- void onChanged()?,
- int? maxLines,
- required TextEditingController controller,
- TextAlign? textAlign,
- 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,
- Brightness? keyboardAppearance,
- TextInputType? keyboardType,
- TextMagnifierConfiguration? magnifierConfiguration,
- 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,
- required dynamic onCountrySelected(),
- InputBorder? border,
- Color? fillColor,
- bool? filled,
- TextStyle? hintStyle,
- Widget? suffix,
- Widget? suffixIcon,
- String? hintText,
- BoxConstraints? constraints,
- Widget? icon,
- bool? isDense,
- TextStyle? labelStyle,
- InputBorder? enabledBorder,
- bool? alignLabelWithHint,
- Widget? counter,
- TextStyle? counterStyle,
- String? counterText,
- InputBorder? disabledBorder,
- Widget? error,
- InputBorder? errorBorder,
- int? errorMaxLines,
- TextStyle? errorStyle,
- String? errorText,
- FloatingLabelAlignment? floatingLabelAlignment,
- FloatingLabelBehavior? floatingLabelBehavior,
- TextStyle? floatingLabelStyle,
- Color? focusColor,
- InputBorder? focusedBorder,
- InputBorder? focusedErrorBorder,
- Widget? helper,
- int? helperMaxLines,
- TextStyle? helperStyle,
- String? helperText,
- String? suffixText,
- Widget? label,
- TextStyle? suffixStyle,
- Color? suffixIconColor,
- String? labelText,
- bool? isCollapsed,
- TextDirection? hintTextDirection,
- Duration? hintFadeDuration,
- int? hintMaxLines,
- Color? hoverColor,
- 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});