Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
home_screen.dart File Reference
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;
Include dependency graph for home_screen.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

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)

Variables

class HomeScreen extends StatefulWidget _locationService = LocationService()
List< DashboardItem > get items

Function Documentation

◆ build()

override Widget build ( BuildContext context)

Definition at line 82 of file home_screen.dart.

Here is the call graph for this function:

◆ 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 ( )

Definition at line 76 of file home_screen.dart.

◆ initState()

List< DashboardItem > get override void initState ( )

Definition at line 56 of file home_screen.dart.

Here is the call graph for this function:

Variable Documentation

◆ _locationService

class HomeScreen extends StatefulWidget _locationService = LocationService()

◆ items

List<DashboardItem> get items
Initial value:
=> [
title: 'home.today_schedule'.tr(),
icon: FluentIcons.calendar_12_regular,
path: Routes.todayScheduleScreen.route,
)
static const lightGreen
final String path
final Color color
Definition failures.dart:1
List< DashboardItem > get DashboardItem(title:'home.transactions'.tr(), icon:FluentIcons.arrow_swap_16_regular, color:ColorPalette.lightGreen, path:Routes.transactionsHistoryScreen.route,)
Routes
Definition routes.dart:30
final String title

Definition at line 27 of file home_screen.dart.