CountryPickerWidget constructor

const CountryPickerWidget({
  1. Key? key,
  2. ValueChanged<Country>? onSelected,
  3. TextStyle itemTextStyle = _defaultItemTextStyle,
  4. TextStyle searchInputStyle = _defaultSearchInputStyle,
  5. InputDecoration? searchInputDecoration,
  6. String searchHintText = _kDefaultSearchHintText,
  7. double flagIconSize = 32,
  8. bool showSeparator = false,
  9. bool focusSearchBox = false,
})

Implementation

const CountryPickerWidget({
  Key? key,
  this.onSelected,
  this.itemTextStyle = _defaultItemTextStyle,
  this.searchInputStyle = _defaultSearchInputStyle,
  this.searchInputDecoration,
  this.searchHintText = _kDefaultSearchHintText,
  this.flagIconSize = 32,
  this.showSeparator = false,
  this.focusSearchBox = false,
}) : super(key: key);