UiLanguageSelectionSheet constructor

const UiLanguageSelectionSheet({
  1. Key? key,
  2. required List<Locale> locales,
  3. required Locale currentLocale,
  4. required ValueChanged<Locale> onLocaleSelected,
  5. String headerText = "Select Language",
  6. TextStyle? headerStyle,
  7. Color? backgroundColor,
  8. Color? checkIconColor = Colors.green,
  9. double? checkIconSize = 20,
  10. double borderRadius = 16,
})

Implementation

const UiLanguageSelectionSheet({
  super.key,
  required this.locales,
  required this.currentLocale,
  required this.onLocaleSelected,
  this.headerText = "Select Language",
  this.headerStyle,
  this.backgroundColor,
  this.checkIconColor = Colors.green,
  this.checkIconSize = 20,
  this.borderRadius = 16,
});