Нет описания

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