feat: language
This commit is contained in:
@@ -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,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user