SelectionList constructor
SelectionList(
- List<
Country> elements, { - Key? key,
- required Country initialCountry,
- PreferredSizeWidget? appBar,
- CountryListDialogTheme dialogTheme = const CountryListDialogTheme(),
- Widget dialogBuilder(
- BuildContext context,
- Country? country
- bool useUiOverlay = true,
- bool useSafeArea = false,
Implementation
SelectionList(
this.elements, {
Key? key,
required this.initialCountry,
this.appBar,
// this.pickerTheme,
this.dialogTheme = const CountryListDialogTheme(),
this.dialogBuilder,
this.useUiOverlay = true,
this.useSafeArea = false,
}) : super(key: key);