NiceLanguageSelector constructor

const NiceLanguageSelector({
  1. Key? key,
  2. required String currentLocale,
  3. required List<NiceLocaleOption> locales,
  4. void onLocaleChanged(
    1. String query
    )?,
  5. NiceLanguageSelectorStyle style = NiceLanguageSelectorStyle.dropdown,
})

Implementation

const NiceLanguageSelector({
  super.key,
  required this.currentLocale,
  required this.locales,
  this.onLocaleChanged,
  this.style = NiceLanguageSelectorStyle.dropdown,
});