1import 'package:flutter_bloc/flutter_bloc.dart';
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';
19 BlocProvider<CollectionsBloc>(
20 create: (
_) => CollectionsBloc(),
22 BlocProvider<PendingCollectionsBloc>(
23 create: (
_) => PendingCollectionsBloc(),
25 BlocProvider<HistoryCollectionsBloc>(
26 create: (
_) => HistoryCollectionsBloc(),
28 BlocProvider<NotificationsBloc>(
29 create: (
_) => NotificationsBloc(),
31 BlocProvider<CollectionsInformationBloc>(
32 create: (
_) => CollectionsInformationBloc(),
34 BlocProvider<PeriodBloc>(
35 create: (
_) => PeriodBloc(),
37 BlocProvider<UnloadingBloc>(
38 create: (
_) => UnloadingBloc(),
40 BlocProvider<CheckInOutBloc>(
41 create: (
_) => CheckInOutBloc(),
43 BlocProvider<ElearningV2Cubit>(
46 BlocProvider<WeeklyCollectionsBloc>(
47 create: (
_) => WeeklyCollectionsBloc(),
49 BlocProvider<CollectionsToScheduleBloc>(
50 create: (
_) => CollectionsToScheduleBloc(),
52 BlocProvider<RoutingPlanningBloc>(
53 create: (
_) => RoutingPlanningBloc(),
55 BlocProvider<HomeBloc>(
56 create: (
_) => HomeBloc(),
List< BlocProvider > blocProviders