CountrySelectorNavigator.dropdown constructor
const
CountrySelectorNavigator.dropdown({
- required LayerLink layerLink,
- BorderRadiusGeometry? borderRadius,
- double listHeight,
- Color? backgroundColor,
- List<
IsoCode> ? countries, - List<
IsoCode> ? favorites, - bool addFavoriteSeparator,
- bool showCountryCode,
- bool showSearchInput,
- TextStyle? countryCodeStyle,
- TextStyle? countryNameStyle,
- ScrollPhysics? scrollPhysics,
- double flagSize,
- BoxShape flagShape,
- double? offsetHeight,
- bool showCountryName,
- bool showCountryFlag,
- String? noResultMessage,
- InputDecoration? searchInputDecoration,
- TextStyle? searchInputTextStyle,
- Color? defaultSearchInputIconColor,
- double? searchInputHeight,
- double? searchInputWidth,
Implementation
const factory CountrySelectorNavigator.dropdown({
required LayerLink layerLink,
BorderRadiusGeometry? borderRadius,
double listHeight,
Color? backgroundColor,
List<IsoCode>? countries,
List<IsoCode>? favorites,
bool addFavoriteSeparator,
bool showCountryCode,
bool showSearchInput,
TextStyle? countryCodeStyle,
TextStyle? countryNameStyle,
ScrollPhysics? scrollPhysics,
double flagSize,
BoxShape flagShape,
double? offsetHeight,
bool showCountryName,
bool showCountryFlag,
String? noResultMessage,
InputDecoration? searchInputDecoration,
TextStyle? searchInputTextStyle,
Color? defaultSearchInputIconColor,
bool useRootNavigator,
double? searchInputHeight,
double? searchInputWidth,
}) = DropdownNavigator._;