feat: i18n support (#40)

This commit is contained in:
monkeyWie authored and GitHub committed 2022-11-05 17:04:22 +08:00
1 parent 135fba1b54
commit 77e59f7376
10 files changed
+172 -50

No files matched your search

+2 -2
View File
@@ -37,11 +37,11 @@ class HomeView extends GetView<HomeController> {
AnimatedBarItems(
icon: const Icon(Icons.list),
selectedColor: Get.theme.primaryColor,
title: const Text('任务')),
title: Text('home.task'.tr)),
AnimatedBarItems(
icon: const Icon(Icons.settings),
selectedColor: Get.theme.primaryColor,
title: const Text('设置')),
title: Text('home.setting'.tr)),
],
iconSize: 32,
barAnimation: BarAnimation.fade,