|
|
|
@ -80,7 +80,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
Image.memory(
|
|
|
|
|
Utils.getPostBytes(
|
|
|
|
|
Utils.dataFromBase64String(
|
|
|
|
|
AppState().memberInformationList!.eMPLOYEEIMAGE ?? "",
|
|
|
|
|
),
|
|
|
|
|
errorBuilder: (BuildContext context, error, stackTrace) {
|
|
|
|
@ -419,9 +419,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
BottomNavigationBarItem(
|
|
|
|
|
icon: SvgPicture.asset(
|
|
|
|
|
"assets/icons/chat/chat.svg",
|
|
|
|
|
color: currentIndex == 4
|
|
|
|
|
? MyColors.grey3AColor
|
|
|
|
|
: MyColors.grey98Color,
|
|
|
|
|
color: currentIndex == 4 ? MyColors.grey3AColor : MyColors.grey98Color,
|
|
|
|
|
).paddingAll(4),
|
|
|
|
|
label: LocaleKeys.chat.tr(),
|
|
|
|
|
),
|
|
|
|
@ -441,7 +439,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Navigator.pushNamed(context, AppRoutes.workList);
|
|
|
|
|
} else if (index == 3) {
|
|
|
|
|
Navigator.pushNamed(context, AppRoutes.itemsForSale);
|
|
|
|
|
}else if (index == 4) {
|
|
|
|
|
} else if (index == 4) {
|
|
|
|
|
Navigator.pushNamed(context, AppRoutes.chat);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|