LanguageSwitcher constructor

const LanguageSwitcher({
  1. Key? key,
  2. required Locale locale,
  3. bool showWrittenLanguageInSelectedItem = false,
  4. bool showFlag = true,
  5. FlagStyle flagStyle = FlagStyle.rounded,
  6. double flagWidth = 40,
  7. double flagHeight = 0,
  8. double dropdownIconSize = 36,
  9. Color? dropDownIconColor,
})

Implementation

const LanguageSwitcher({
  super.key,
  required this.locale,
  this.showWrittenLanguageInSelectedItem = false,
  this.showFlag = true,
  this.flagStyle = FlagStyle.rounded,
  this.flagWidth = 40,
  this.flagHeight = 0,
  this.dropdownIconSize = 36,
  this.dropDownIconColor,
});