1234567891011121314151617 |
- class Language {
- final int id;
- final String flag;
- final String name;
- final String languageCode;
-
- Language(this.id, this.flag, this.name, this.languageCode);
-
- static List<Language> languageList() {
- return <Language>[
- Language(1, "🇦🇫", "فارسی", "fa"),
- Language(2, "🇺🇸", "English", "en"),
- Language(3, "🇺🇸", "Español", "es"),
- Language(4, "🇮🇳", "हिंदी", "hi"),
- ];
- }
- }
|