AdvanceCountryPickerWidget constructor

const AdvanceCountryPickerWidget({
  1. Key? key,
  2. ValueChanged<Country>? onSelected,
  3. TextStyle itemTextStyle = _defaultItemTextStyle,
  4. TextStyle searchInputStyle = _defaultSearchInputStyle,
  5. InputDecoration? searchInputDecoration,
  6. String searchHintText = _kDefaultSearchHintText,
  7. double flagIconWidth = 32,
  8. double flagIconHeight = 22,
  9. bool showSeparator = false,
  10. bool focusSearchBox = false,
  11. List<String> filteredCountries = const [],
})

Implementation

const AdvanceCountryPickerWidget(
    {super.key,
    this.onSelected,
    this.itemTextStyle = _defaultItemTextStyle,
    this.searchInputStyle = _defaultSearchInputStyle,
    this.searchInputDecoration,
    this.searchHintText = _kDefaultSearchHintText,
    this.flagIconWidth = 32,
    this.flagIconHeight = 22,
    this.showSeparator = false,
    this.focusSearchBox = false,
    this.filteredCountries = const []});