AdvanceCountryCodeInputField constructor

const AdvanceCountryCodeInputField({
  1. Key? key,
  2. dynamic onPhoneNumberChanged(
    1. String phoneNumber,
    2. Country? country
    )?,
  3. double flagIconWidth = 32,
  4. double flagIconHeight = 22,
  5. TextStyle textStyle = const TextStyle(fontSize: 16),
  6. SelectorType selectorType = SelectorType.bottomSheet,
  7. List<String> filteredCountries = const [],
  8. Country? initialCountry,
  9. String? initialPhoneNumber,
  10. Color? borderColor,
  11. Color? dividerColor,
  12. double? borderRadius,
  13. String? hintText,
})

Implementation

const AdvanceCountryCodeInputField({
  super.key,
  this.onPhoneNumberChanged,
  this.flagIconWidth = 32,
  this.flagIconHeight = 22,
  this.textStyle = const TextStyle(fontSize: 16),
  this.selectorType = SelectorType.bottomSheet,
  this.filteredCountries = const [],
  this.initialCountry,
  this.initialPhoneNumber,
  this.borderColor,
  this.dividerColor,
  this.borderRadius,
  this.hintText,
});