UTextFieldPhoneNumber constructor

const UTextFieldPhoneNumber({
  1. Key? key,
  2. UCountryPickerMode pickerMode = UCountryPickerMode.bottomSheet,
  3. dynamic onChanged(
    1. UPhoneNumberData
    )?,
  4. TextEditingController? controller,
  5. String? initialValue,
  6. String? initialCountryCode,
  7. String? text,
  8. String? labelText,
  9. String? hintText,
  10. String? validator(
    1. String?
    )?,
  11. bool required = false,
  12. bool readOnly = false,
  13. EdgeInsetsGeometry? contentPadding,
  14. FocusNode? focusNode,
  15. EdgeInsetsGeometry? margin,
  16. bool visible = true,
  17. double? opacity,
  18. BoxFit? fit,
  19. AlignmentGeometry fitAlignment = Alignment.center,
  20. double? scale,
  21. double? rotate,
  22. Offset? translate,
  23. bool center = false,
  24. bool safeArea = false,
  25. int? expanded,
  26. int? flexible,
  27. bool positioned = false,
  28. double? left,
  29. double? top,
  30. double? right,
  31. double? bottom,
  32. double? positionedWidth,
  33. 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,
});