FxPhoneInput constructor
const
FxPhoneInput({
- Key? key,
- FxPhoneInputChanged? onChanged,
- FormFieldValidator<
String> ? validator, - FxOverlayStyle overlayStyle = FxOverlayStyle.modal,
- String? label,
- String hint = 'Enter your phone number',
- FxFlagShape flagShape = FxFlagShape.circle,
- double flagSize = 28,
- String initialCountryCode = 'NG',
- TextEditingController? controller,
- TextInputAction textInputAction = TextInputAction.next,
- FocusNode? focusNode,
Implementation
const FxPhoneInput({
super.key,
this.onChanged,
this.validator,
this.overlayStyle = FxOverlayStyle.modal,
this.label,
this.hint = 'Enter your phone number',
this.flagShape = FxFlagShape.circle,
this.flagSize = 28,
this.initialCountryCode = 'NG',
this.controller,
this.textInputAction = TextInputAction.next,
this.focusNode,
});