get country api
This commit is contained in:
@@ -4,11 +4,13 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:tanami_app/core/styles/app_color.dart';
|
||||
|
||||
import '../../core/utils/language/localizations_delegate.dart';
|
||||
import 'bloc/bottom_nav_bar/bottom_navigation_bloc.dart';
|
||||
import 'bloc/bottom_nav_bar/bottom_navigation_event.dart';
|
||||
|
||||
Widget bottomnavigationbar(
|
||||
BuildContext context, selectedIndex, PageController pageController) {
|
||||
var localizations = AppLocalizations.of(context);
|
||||
return BottomNavigationBar(
|
||||
backgroundColor: AppColor.plainWhite,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
@@ -43,7 +45,7 @@ Widget bottomnavigationbar(
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
),
|
||||
label: 'Wallet',
|
||||
label: localizations.translate('Wallet'),
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: Image.asset(
|
||||
@@ -56,7 +58,7 @@ Widget bottomnavigationbar(
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
),
|
||||
label: 'Portfolio',
|
||||
label: localizations.translate('Portfolio'),
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: Image.asset(
|
||||
@@ -69,7 +71,7 @@ Widget bottomnavigationbar(
|
||||
height: 28.h,
|
||||
width: 28.w,
|
||||
),
|
||||
label: 'Invest',
|
||||
label: localizations.translate('Invest'),
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: Image.asset(
|
||||
@@ -82,7 +84,7 @@ Widget bottomnavigationbar(
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
),
|
||||
label: 'Academy',
|
||||
label: localizations.translate('Academy'),
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: Image.asset(
|
||||
@@ -95,7 +97,7 @@ Widget bottomnavigationbar(
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
),
|
||||
label: 'Settings',
|
||||
label: localizations.translate('Settings'),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user