NiceLocaleManager constructor

const NiceLocaleManager({
  1. Key? key,
  2. required List<NiceLocaleEntry> locales,
  3. required Locale currentLocale,
  4. ValueChanged<Locale>? onLocaleChanged,
  5. Map<String, String> overrides = const {},
  6. void onOverrideChanged(
    1. String key,
    2. String value
    )?,
  7. bool showCompletionBadge = true,
})

Implementation

const NiceLocaleManager({
  super.key,
  required this.locales,
  required this.currentLocale,
  this.onLocaleChanged,
  this.overrides = const {},
  this.onOverrideChanged,
  this.showCompletionBadge = true,
});