@@ -66,93 +66,96 @@ Future<void> bootstrap(FutureOr<Widget> Function() builder) async {
6666 // Register all the BLoCs here
6767 providers: [
6868 BlocProvider <GoogleSignInCubit >(
69- create: (_) => GoogleSignInCubit (
70- authRepository: getIt (),
71- ),
69+ create: (_) => GoogleSignInCubit (authRepository: getIt ()),
7270 ),
7371 BlocProvider (
74- create: (_) => FetchOrganisersCubit (
75- apiRepository: getIt (),
76- dBRepository: getIt (),
77- ),
72+ create:
73+ (_) => FetchOrganisersCubit (
74+ apiRepository: getIt (),
75+ dBRepository: getIt (),
76+ ),
7877 ),
7978 BlocProvider <SocialAuthSignInCubit >(
80- create: (_) => SocialAuthSignInCubit (
81- authRepository: getIt (),
82- hiveRepository: getIt (),
83- ),
79+ create:
80+ (_) => SocialAuthSignInCubit (
81+ authRepository: getIt (),
82+ hiveRepository: getIt (),
83+ ),
8484 ),
8585 BlocProvider <LogOutCubit >(
86- create: (_) => LogOutCubit (
87- authRepository: getIt (),
88- hiveRepository: getIt (),
89- dbRepository: getIt (),
90- ),
86+ create:
87+ (_) => LogOutCubit (
88+ authRepository: getIt (),
89+ hiveRepository: getIt (),
90+ dbRepository: getIt (),
91+ ),
9192 ),
9293 BlocProvider <FetchFeedCubit >(
93- create: (_) => FetchFeedCubit (
94- apiRepository: getIt (),
95- dBRepository: getIt (),
96- ),
94+ create:
95+ (_) => FetchFeedCubit (
96+ apiRepository: getIt (),
97+ dBRepository: getIt (),
98+ ),
9799 ),
98100 BlocProvider <FetchSponsorsCubit >(
99- create: (context) => FetchSponsorsCubit (
100- apiRepository: getIt (),
101- dBRepository: getIt (),
102- ),
101+ create:
102+ (context) => FetchSponsorsCubit (
103+ apiRepository: getIt (),
104+ dBRepository: getIt (),
105+ ),
103106 ),
104107 BlocProvider <FetchSessionsCubit >(
105- create: (context) => FetchSessionsCubit (
106- apiRepository: getIt (),
107- dBRepository: getIt (),
108- ),
108+ create:
109+ (context) => FetchSessionsCubit (
110+ apiRepository: getIt (),
111+ dBRepository: getIt (),
112+ ),
109113 ),
110114 BlocProvider <FetchGroupedSessionsCubit >(
111- create: (context) => FetchGroupedSessionsCubit (
112- apiRepository: getIt (),
113- dBRepository: getIt (),
114- ),
115+ create:
116+ (context) => FetchGroupedSessionsCubit (
117+ apiRepository: getIt (),
118+ dBRepository: getIt (),
119+ ),
115120 ),
116121 BlocProvider <FetchSpeakersCubit >(
117- create: (context) => FetchSpeakersCubit (
118- apiRepository: getIt (),
119- dBRepository: getIt (),
120- ),
122+ create:
123+ (context) => FetchSpeakersCubit (
124+ apiRepository: getIt (),
125+ dBRepository: getIt (),
126+ ),
121127 ),
122128 BlocProvider <FetchIndividualOrganisersCubit >(
123- create: (context) => FetchIndividualOrganisersCubit (
124- apiRepository: getIt (),
125- dBRepository: getIt (),
126- ),
129+ create:
130+ (context) => FetchIndividualOrganisersCubit (
131+ apiRepository: getIt (),
132+ dBRepository: getIt (),
133+ ),
127134 ),
128135 BlocProvider <BookmarkSessionCubit >(
129- create: (context) => BookmarkSessionCubit (
130- apiRepository: getIt (),
131- dBRepository: getIt (),
132- notificationService: getIt (),
133- hiveRepository: getIt (),
134- ),
136+ create:
137+ (context) => BookmarkSessionCubit (
138+ apiRepository: getIt (),
139+ dBRepository: getIt (),
140+ notificationService: getIt (),
141+ hiveRepository: getIt (),
142+ ),
135143 ),
136144 BlocProvider <ShareFeedPostCubit >(
137- create: (context) => ShareFeedPostCubit (
138- shareRepository: getIt (),
139- ),
145+ create: (context) => ShareFeedPostCubit (shareRepository: getIt ()),
140146 ),
141147 BlocProvider <SendFeedbackCubit >(
142- create: (context) => SendFeedbackCubit (
143- apiRepository: getIt (),
144- ),
148+ create: (context) => SendFeedbackCubit (apiRepository: getIt ()),
145149 ),
146150 BlocProvider <GhostSignInCubit >(
147- create: (context) => GhostSignInCubit (
148- authRepository: getIt (),
149- hiveRepository: getIt (),
150- ),
151+ create:
152+ (context) => GhostSignInCubit (
153+ authRepository: getIt (),
154+ hiveRepository: getIt (),
155+ ),
151156 ),
152157 BlocProvider <SearchCubit >(
153- create: (context) => SearchCubit (
154- dbRepository: getIt (),
155- ),
158+ create: (context) => SearchCubit (dbRepository: getIt ()),
156159 ),
157160 ],
158161 child: await builder (),
0 commit comments