CountryPickerWidget constructor
const
CountryPickerWidget({
- Key? key,
- ValueChanged<
Country> ? onSelected, - TextStyle itemTextStyle = _defaultItemTextStyle,
- TextStyle searchInputStyle = _defaultSearchInputStyle,
- InputDecoration? searchInputDecoration,
- String searchHintText = _kDefaultSearchHintText,
- double flagIconSize = 32,
- bool showSeparator = false,
- 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);