import package;
import easy_localization.dart;
import fluentui_system_icons.dart;
import flutter_screenutil.dart;
import flutter_bloc.dart;
import material.dart;
import posthog_flutter.dart;
import core;
import services;
import location_service.dart;
import user_info_service.dart;
import auth;
import presentation;
import bloc;
import authentication_bloc;
import authentication_bloc.dart;
import ui;
import theme;
import color_palette.dart;
import router;
import routes.dart;
import widgets;
import dashboard_card.dart;
import banner_slider.dart;
import home_header.dart;
import dashboard_grid.dart;
Go to the source code of this file.
|
| List< DashboardItem > get | DashboardItem (title:'home.transactions'.tr(), icon:FluentIcons.arrow_swap_16_regular, color:ColorPalette.lightGreen, path:Routes.transactionsHistoryScreen.route,) |
| List< DashboardItem > get | DashboardItem (title:'home.unloading'.tr(), icon:FluentIcons.vehicle_truck_profile_16_regular, color:Colors.teal, path:Routes.unloadingScreen.route,) |
| List< DashboardItem > get | DashboardItem (title:'home.wallet'.tr(), icon:FluentIcons.wallet_16_regular, color:Colors.green, path:Routes.wallet.route,) |
| List< DashboardItem > get override void | initState () |
| override void | dispose () |
| override Widget | build (BuildContext context) |
◆ build()
| override Widget build |
( |
BuildContext | context | ) |
|
◆ DashboardItem() [1/3]
| List< DashboardItem > get DashboardItem |
( |
title:'home.transactions'. | tr(), |
|
|
icon:FluentIcons. | arrow_swap_16_regular, |
|
|
color:ColorPalette. | lightGreen, |
|
|
path:Routes.transactionsHistoryScreen. | route ) |
◆ DashboardItem() [2/3]
| List< DashboardItem > get DashboardItem |
( |
title:'home.unloading'. | tr(), |
|
|
icon:FluentIcons. | vehicle_truck_profile_16_regular, |
|
|
color:Colors. | teal, |
|
|
path:Routes.unloadingScreen. | route ) |
◆ DashboardItem() [3/3]
| List< DashboardItem > get DashboardItem |
( |
title:'home.wallet'. | tr(), |
|
|
icon:FluentIcons. | wallet_16_regular, |
|
|
color:Colors. | green, |
|
|
path:Routes.wallet. | route ) |
◆ dispose()
| override void dispose |
( |
| ) |
|
◆ initState()
◆ _locationService
◆ items
Initial value: => [
title:
'home.today_schedule'.tr(),
icon: FluentIcons.calendar_12_regular,
)
List< DashboardItem > get DashboardItem(title:'home.transactions'.tr(), icon:FluentIcons.arrow_swap_16_regular, color:ColorPalette.lightGreen, path:Routes.transactionsHistoryScreen.route,)
Definition at line 27 of file home_screen.dart.