FxPhoneInput constructor

const FxPhoneInput({
  1. Key? key,
  2. FxPhoneInputChanged? onChanged,
  3. FormFieldValidator<String>? validator,
  4. FxOverlayStyle overlayStyle = FxOverlayStyle.modal,
  5. String? label,
  6. String hint = 'Enter your phone number',
  7. FxFlagShape flagShape = FxFlagShape.circle,
  8. double flagSize = 28,
  9. String initialCountryCode = 'NG',
  10. TextEditingController? controller,
  11. TextInputAction textInputAction = TextInputAction.next,
  12. 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,
});