feat: changing language done

This commit is contained in:
jahongireshonqulov
2025-10-25 20:13:11 +05:00
parent 2750564b08
commit 651a7e5e9d
31 changed files with 621 additions and 57 deletions

View File

@@ -24,5 +24,4 @@ mixin MainPageMixin {
SvgPicture.asset(AppIcons.icAccountActive),
];
final List<String> labels = ["Home", "Browse", "Baskets", 'Account'];
}

View File

@@ -5,6 +5,12 @@ class MainPage extends StatelessWidget with MainPageMixin {
@override
Widget build(BuildContext context) {
final List<String> labels = [
context.loc.home,
context.loc.browse,
context.loc.baskets,
context.loc.account,
];
return BlocProvider(
create: (context) => sl<MainBloc>(),
child: BlocBuilder<MainBloc, MainState>(