12345678910111213141516 |
- import 'package:flutter/material.dart';
- import 'package:get/get.dart';
- import 'en_US.dart';
- import 'zh_CN.dart';
- class TranslationService extends Translations {
- static Locale? get locale => Get.deviceLocale;
- static const fallbackLocale = Locale('zh', 'CN');
- @override
- Map<String, Map<String, String>> get keys => {
- 'zh_CN': zh_CN,
- 'en_US': en_US,
- };
- }
|