custom_language library

Classes

CustomLanguage
class LanguageModel extends CustomLanguage { @override Map<String, LanguageInstance> get addedLanguages => { 'am': LangAmharic(), 'en': LangEnglish() }; @override List<LangModel> get globalAccessableValues => [ LangModel('name_e', 'name_english'), LangModel('name_a', 'name_amharic') ]; LanguageModel({ @required String langCode }) : super(langCode: langCode); }