LanguageSwitcher constructor
const
LanguageSwitcher({ - Key? key,
- required Locale locale,
- bool showWrittenLanguageInSelectedItem = false,
- bool showFlag = true,
- FlagStyle flagStyle = FlagStyle.rounded,
- double flagWidth = 40,
- double flagHeight = 0,
- double dropdownIconSize = 36,
- 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,
});