feat: changing language done
This commit is contained in:
@@ -24,5 +24,4 @@ mixin MainPageMixin {
|
||||
SvgPicture.asset(AppIcons.icAccountActive),
|
||||
];
|
||||
|
||||
final List<String> labels = ["Home", "Browse", "Baskets", 'Account'];
|
||||
}
|
||||
|
||||
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user