Add Daily Task Planning navigation item to the left bar #32
@ -129,6 +129,11 @@ class _LeftBarState extends State<LeftBar>
|
|||||||
title: "Daily Progress Report",
|
title: "Daily Progress Report",
|
||||||
isCondensed: isCondensed,
|
isCondensed: isCondensed,
|
||||||
route: '/dashboard/daily-task'),
|
route: '/dashboard/daily-task'),
|
||||||
|
NavigationItem(
|
||||||
|
iconData: LucideIcons.list_todo,
|
||||||
|
title: "Daily Task Planing",
|
||||||
|
isCondensed: isCondensed,
|
||||||
|
route: '/dashboard/daily-task-planing'),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -143,7 +148,9 @@ class _LeftBarState extends State<LeftBar>
|
|||||||
|
|
||||||
Widget userInfoSection() {
|
Widget userInfoSection() {
|
||||||
if (employeeInfo == null) {
|
if (employeeInfo == null) {
|
||||||
return Center(child: CircularProgressIndicator()); // Show loading indicator if employeeInfo is not yet loaded.
|
return Center(
|
||||||
|
child:
|
||||||
|
CircularProgressIndicator()); // Show loading indicator if employeeInfo is not yet loaded.
|
||||||
}
|
}
|
||||||
|
|
||||||
return Padding(
|
return Padding(
|
||||||
@ -180,7 +187,7 @@ class _LeftBarState extends State<LeftBar>
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget labelWidget(String label) {
|
Widget labelWidget(String label) {
|
||||||
return isCondensed
|
return isCondensed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user