LangSwitch constructor
const
LangSwitch({})
Implementation
const LangSwitch({
Key? key,
required this.onChange,
required this.locales,
this.flagUrl,
this.langName,
this.showFlag: true,
this.showFullName: true,
this.hideSelected: true,
this.persist: true,
}) : assert(locales.length != 0, "Locales must not be empty"),
super(key: key);