Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final List<DashboardItems> dashboardItems = [
- DashboardItems(menuItem: MenuItems.dashboard, title: Strings.drawerItemHome, icon: 'assets/icons/home.png', forActiveUser: false),
- DashboardItems(menuItem: MenuItems.healthProfile, title: Strings.drawerItemProfile, icon: 'assets/icons/cannabis.png', forActiveUser: true),
- ];
- decoration: BoxDecoration(
- color:
- user != null && user.userActive == 1 ? Colors.white :
- user == null || (user != null && user.userActive == 0) || !item.forActiveUser ? Colors.white :
- Colors.grey,
- borderRadius: BorderRadius.all(Radius.circular(5.0)),
- boxShadow: [
- BoxShadow(
- blurRadius: 0.5,
- color: Colors.black,
- offset: Offset(0.0, 0.0),
- )
- ]),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement