SelectionList constructor

SelectionList(
  1. List<Country> elements, {
  2. Key? key,
  3. required Country initialCountry,
  4. PreferredSizeWidget? appBar,
  5. CountryListDialogTheme dialogTheme = const CountryListDialogTheme(),
  6. Widget dialogBuilder(
    1. BuildContext context,
    2. Country? country
    )?,
  7. bool useUiOverlay = true,
  8. 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);