Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
bloc_providers.dart
Go to the documentation of this file.
1import 'package:flutter_bloc/flutter_bloc.dart';
2
3import '../../features/auth/presentation/bloc/check_in_out_bloc/check_in_out_bloc.dart';
4import '../../features/collections/presentation/bloc/collections_bloc/collections_bloc.dart';
5import '../../features/collections/presentation/bloc/collections_information_bloc/collections_information_bloc.dart';
6import '../../features/collections/presentation/bloc/planning_bloc/routing_planning_bloc.dart';
7import '../../features/home/presentation/bloc/home_bloc.dart';
8import '../../features/collections/presentation/bloc/weekly_collections_bloc/weekly_collections_bloc.dart';
9import '../../features/collections/presentation/bloc/collections_to_schedule_bloc/collections_to_schedule_bloc.dart';
10import '../../features/dashboard/presentation/bloc/period_bloc/period_bloc.dart';
11import '../../features/e-learning/presentation/logic/cubit/elearning_v2_cubit.dart';
12import '../../features/history/presentation/bloc/history_collections/history_collections_bloc.dart';
13import '../../features/history/presentation/bloc/pending_collections/pending_collections_bloc.dart';
14import '../../features/notifications/presentation/bloc/notifications_bloc.dart';
15import '../../features/unloading/presentation/bloc/unloading_bloc.dart';
16import '../services/service_locator.dart';
17
18List<BlocProvider> blocProviders = [
19 BlocProvider<CollectionsBloc>(
20 create: (_) => CollectionsBloc(),
21 ),
22 BlocProvider<PendingCollectionsBloc>(
23 create: (_) => PendingCollectionsBloc(),
24 ),
25 BlocProvider<HistoryCollectionsBloc>(
26 create: (_) => HistoryCollectionsBloc(),
27 ),
28 BlocProvider<NotificationsBloc>(
29 create: (_) => NotificationsBloc(),
30 ),
31 BlocProvider<CollectionsInformationBloc>(
32 create: (_) => CollectionsInformationBloc(),
33 ),
34 BlocProvider<PeriodBloc>(
35 create: (_) => PeriodBloc(),
36 ),
37 BlocProvider<UnloadingBloc>(
38 create: (_) => UnloadingBloc(),
39 ),
40 BlocProvider<CheckInOutBloc>(
41 create: (_) => CheckInOutBloc(),
42 ),
43 BlocProvider<ElearningV2Cubit>(
44 create: (_) => sl<ElearningV2Cubit>(),
45 ),
46 BlocProvider<WeeklyCollectionsBloc>(
47 create: (_) => WeeklyCollectionsBloc(),
48 ),
49 BlocProvider<CollectionsToScheduleBloc>(
50 create: (_) => CollectionsToScheduleBloc(),
51 ),
52 BlocProvider<RoutingPlanningBloc>(
53 create: (_) => RoutingPlanningBloc(),
54 ),
55 BlocProvider<HomeBloc>(
56 create: (_) => HomeBloc(),
57 ),
58];
AuthGuard _()
List< BlocProvider > blocProviders
final sl