SelectionList constructor

SelectionList(
  1. List<Country> elements, {
  2. Key? key,
  3. required Country selectedCountry,
  4. Country? localCountry,
  5. PreferredSizeWidget? appBar,
  6. DialogThemeData dialogTheme = const DialogThemeData(),
  7. TextDirection textDirection = TextDirection.ltr,
  8. required Languages language,
  9. Names displayName = Names.common,
})

Implementation

SelectionList(
  this.elements, {
  super.key,
  required this.selectedCountry,
  this.localCountry,
  this.appBar,
  this.dialogTheme = const DialogThemeData(),
  this.textDirection = TextDirection.ltr,
  required this.language,
  this.displayName = Names.common,
});