UTextFieldPhoneNumber constructor
const
UTextFieldPhoneNumber({
- Key? key,
- UCountryPickerMode pickerMode = UCountryPickerMode.bottomSheet,
- dynamic onChanged()?,
- TextEditingController? controller,
- String? initialValue,
- String? initialCountryCode,
- String? text,
- String? labelText,
- String? hintText,
- String? validator()?,
- bool required = false,
- bool readOnly = false,
- EdgeInsetsGeometry? contentPadding,
- FocusNode? focusNode,
- EdgeInsetsGeometry? margin,
- bool visible = true,
- double? opacity,
- BoxFit? fit,
- AlignmentGeometry fitAlignment = Alignment.center,
- double? scale,
- double? rotate,
- Offset? translate,
- bool center = false,
- bool safeArea = false,
- int? expanded,
- int? flexible,
- bool positioned = false,
- double? left,
- double? top,
- double? right,
- double? bottom,
- double? positionedWidth,
- double? positionedHeight,
Implementation
const UTextFieldPhoneNumber({
super.key,
this.pickerMode = UCountryPickerMode.bottomSheet,
this.onChanged,
this.controller,
this.initialValue,
this.initialCountryCode,
this.text,
this.labelText,
this.hintText,
this.validator,
this.required = false,
this.readOnly = false,
this.contentPadding,
this.focusNode,
this.margin,
this.visible = true,
this.opacity,
this.fit,
this.fitAlignment = Alignment.center,
this.scale,
this.rotate,
this.translate,
this.center = false,
this.safeArea = false,
this.expanded,
this.flexible,
this.positioned = false,
this.left,
this.top,
this.right,
this.bottom,
this.positionedWidth,
this.positionedHeight,
});