feat: language

This commit is contained in:
efrilm
2025-08-13 01:17:00 +07:00
parent 3d43d7a934
commit 83edfa61f1
29 changed files with 1539 additions and 156 deletions
@@ -3,6 +3,8 @@ import 'package:flutter/material.dart';
import 'package:line_icons/line_icon.dart';
import 'package:line_icons/line_icons.dart';
import '../../../../common/extension/extension.dart';
class MainBottomNavbar extends StatefulWidget {
final TabsRouter tabsRouter;
@@ -26,23 +28,23 @@ class _MainBottomNavbarState extends State<MainBottomNavbar> {
items: [
BottomNavigationBarItem(
icon: LineIcon(LineIcons.home),
label: 'Home',
tooltip: 'Home',
label: context.lang.home,
tooltip: context.lang.home,
),
BottomNavigationBarItem(
icon: LineIcon(LineIcons.moneyBill),
label: 'Transaction',
tooltip: 'Transaction',
label: context.lang.transaction,
tooltip: context.lang.transaction,
),
BottomNavigationBarItem(
icon: LineIcon(LineIcons.barChart),
label: 'Report',
tooltip: 'Report',
label: context.lang.report,
tooltip: context.lang.report,
),
BottomNavigationBarItem(
icon: LineIcon(LineIcons.user),
label: 'Profile',
tooltip: 'Profile',
label: context.lang.profile,
tooltip: context.lang.profile,
),
],
);