CustomPhoneTextFieldWithButton constructor

const CustomPhoneTextFieldWithButton({
  1. Key? key,
  2. String? label,
  3. TextStyle? labelStyle,
  4. PhoneController? controller,
  5. String? errorMsg,
  6. Color? errorColor,
  7. void onChanged(
    1. PhoneNumber?
    )?,
  8. Color? borderColor,
  9. Color? focusedBorderColor,
  10. Color? textColor,
  11. Color? hintColor,
  12. Color? iconColor,
  13. bool isDisabled = false,
  14. bool isOptionalMark = false,
  15. bool isCountrySelectionEnabled = true,
  16. Color? disabledBorderColor,
  17. Color? disabledTextColor,
  18. Color? disabledBackgroundColor,
  19. bool shouldFormat = true,
  20. bool showFlagInInput = true,
  21. CountrySelectorNavigator selectorNavigator = const CountrySelectorNavigator.bottomSheet(),
  22. required String buttonText,
  23. VoidCallback? onButtonPressed,
  24. bool isButtonDisabled = false,
  25. Color? buttonColor,
  26. Color? buttonTextColor,
  27. Color? buttonDisabledColor,
  28. Color? buttonDisabledTextColor,
  29. TextStyle? buttonTextStyle,
})

Implementation

const CustomPhoneTextFieldWithButton({
  Key? key,
  this.label,
  this.labelStyle,
  this.controller,
  this.errorMsg,
  this.errorColor,
  this.onChanged,
  this.borderColor,
  this.focusedBorderColor,
  this.textColor,
  this.hintColor,
  this.iconColor,
  this.isDisabled = false,
  this.isOptionalMark = false,
  this.isCountrySelectionEnabled = true,
  this.disabledBorderColor,
  this.disabledTextColor,
  this.disabledBackgroundColor,
  this.shouldFormat = true,
  this.showFlagInInput = true,
  this.selectorNavigator = const CountrySelectorNavigator.bottomSheet(),
  required this.buttonText,
  this.onButtonPressed,
  this.isButtonDisabled = false,
  this.buttonColor,
  this.buttonTextColor,
  this.buttonDisabledColor,
  this.buttonDisabledTextColor,
  this.buttonTextStyle,
}) : super(key: key);