Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
weekly_collections_screen.dart File Reference
import package;
import easy_localization.dart;
import material.dart;
import flutter_bloc.dart;
import flutter_screenutil.dart;
import go_router.dart;
import core;
import router;
import routes.dart;
import ui;
import widgets;
import custom_scaffold.dart;
import custom_text_form_field.dart;
import custom_card.dart;
import error_widget.dart;
import empty_content.dart;
import loading.dart;
import theme;
import color_palette.dart;
import domain;
import entities;
import res;
import res_weekly_collection_entity.dart;
import bloc;
import weekly_collections_bloc;
import weekly_collections_bloc.dart;
import planning_bloc;
import routing_planning_bloc.dart;
import collections_to_schedule_bloc;
import collections_to_schedule_bloc.dart;
import auth;
import presentation;
import authentication_bloc;
import authentication_bloc.dart;
import req;
import req_create_driver_collection_entity.dart;
Include dependency graph for weekly_collections_screen.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

override void initState ()
void _initializeData ()
void _loadWeeklyCollections (AuthenticatedState authState)
Map< String, String_getCurrentWeekDates ()
String _formatDate (DateTime date)
override void dispose ()
override Widget build (BuildContext context)
Widget _buildSearchField ()
Widget _buildSelectionActions ()
Widget _buildCollectionsList ()
Widget _buildCollectionCard (ResWeeklyCollectionEntity collection, bool isSelected)
style SizedBox (height:2.h)
style Text ( '${ 'scheduling.reference'.tr()}:${collection.internalCode}', style:Theme.of(context).textTheme.bodySmall,)
style Column (crossAxisAlignment:CrossAxisAlignment.end, children:[Container(padding:EdgeInsets.symmetric(horizontal:8.w, vertical:4.h), decoration:BoxDecoration(color:ColorPalette.tiffanyBlue.withValues(alpha:0.1), borderRadius:BorderRadius.circular(12),), child:Text(collection.type ?? '', style:Theme.of(context).textTheme.bodySmall?.copyWith(color:ColorPalette.tiffanyBlue, fontWeight:FontWeight.bold,),),),],)
style Widget _buildContinueButton ()
void _onContinuePressed ()

Variables

class WeeklyCollectionsScreen extends StatefulWidget _searchController = TextEditingController()
 __pad0__
style __pad1__

Function Documentation

◆ _buildCollectionCard()

Widget _buildCollectionCard ( ResWeeklyCollectionEntity collection,
bool isSelected )

Definition at line 227 of file weekly_collections_screen.dart.

◆ _buildCollectionsList()

Widget _buildCollectionsList ( )

Definition at line 185 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _buildContinueButton()

style Widget _buildContinueButton ( )

Definition at line 308 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _buildSearchField()

Widget _buildSearchField ( )

Definition at line 144 of file weekly_collections_screen.dart.

Here is the caller graph for this function:

◆ _buildSelectionActions()

Widget _buildSelectionActions ( )

Definition at line 156 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _formatDate()

String _formatDate ( DateTime date)

Definition at line 82 of file weekly_collections_screen.dart.

Here is the caller graph for this function:

◆ _getCurrentWeekDates()

Map< String, String > _getCurrentWeekDates ( )

Definition at line 66 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _initializeData()

void _initializeData ( )

Definition at line 46 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _loadWeeklyCollections()

void _loadWeeklyCollections ( AuthenticatedState authState)

Definition at line 55 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _onContinuePressed()

void _onContinuePressed ( )

Definition at line 351 of file weekly_collections_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 93 of file weekly_collections_screen.dart.

Here is the call graph for this function:

◆ Column()

style Column ( crossAxisAlignment:CrossAxisAlignment. end,
children: [Container( padding: EdgeInsets.symmetric(horizontal:8.w, vertical:4.h), decoration:BoxDecoration( color:ColorPalette.tiffanyBlue.withValues(alpha:0.1), borderRadius:BorderRadius.circular(12),), child:Text( collection.type ?? '', style:Theme.of(context).textTheme.bodySmall?.copyWith( color:ColorPalette.tiffanyBlue, fontWeight:FontWeight.bold,),),),] )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispose()

override void dispose ( )

Definition at line 87 of file weekly_collections_screen.dart.

◆ initState()

override void initState ( )

Definition at line 35 of file weekly_collections_screen.dart.

Here is the call graph for this function:

◆ SizedBox()

style SizedBox ( height:2. h)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Text()

style Text ( '${ 'scheduling.reference'.tr()}:${collection.internalCode}' ,
style:Theme.of(context).textTheme. bodySmall )

Variable Documentation

◆ __pad0__

__pad0__

Definition at line 227 of file weekly_collections_screen.dart.

◆ __pad1__

style __pad1__

Definition at line 270 of file weekly_collections_screen.dart.

◆ _searchController

class WeeklyCollectionsScreen extends StatefulWidget _searchController = TextEditingController()