File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import 'package:flutter_news_app/config/base_url_config.dart';
8
8
import 'package:flutter_news_app/config/flavor_config.dart' ;
9
9
import 'package:flutter_news_app/core/util/constant_value.dart' ;
10
10
import 'package:flutter_news_app/firebase_options.dart' ;
11
+ import 'package:flutter_news_app/injection_container.dart' as di;
11
12
12
13
void main () async {
13
14
WidgetsFlutterBinding .ensureInitialized ();
@@ -17,6 +18,7 @@ void main() async {
17
18
await Firebase .initializeApp (
18
19
options: DefaultFirebaseOptions .currentPlatform,
19
20
);
21
+ await di.init ();
20
22
FlavorConfig (
21
23
flavor: Flavor .production,
22
24
colorPrimary: constantColor.primaryColor500,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import 'package:flutter_news_app/config/base_url_config.dart';
6
6
import 'package:flutter_news_app/config/flavor_config.dart' ;
7
7
import 'package:flutter_news_app/core/util/constant_value.dart' ;
8
8
import 'package:flutter_news_app/firebase_options.dart' ;
9
+ import 'package:flutter_news_app/injection_container.dart' as di;
9
10
10
11
void main () async {
11
12
WidgetsFlutterBinding .ensureInitialized ();
@@ -15,6 +16,7 @@ void main() async {
15
16
await Firebase .initializeApp (
16
17
options: DefaultFirebaseOptions .currentPlatform,
17
18
);
19
+ await di.init ();
18
20
FlavorConfig (
19
21
flavor: Flavor .development,
20
22
colorPrimary: constantColor.primaryColor500,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import 'package:flutter_news_app/config/base_url_config.dart';
8
8
import 'package:flutter_news_app/config/flavor_config.dart' ;
9
9
import 'package:flutter_news_app/core/util/constant_value.dart' ;
10
10
import 'package:flutter_news_app/firebase_options.dart' ;
11
+ import 'package:flutter_news_app/injection_container.dart' as di;
11
12
12
13
void main () async {
13
14
WidgetsFlutterBinding .ensureInitialized ();
@@ -17,6 +18,7 @@ void main() async {
17
18
await Firebase .initializeApp (
18
19
options: DefaultFirebaseOptions .currentPlatform,
19
20
);
21
+ await di.init ();
20
22
FlavorConfig (
21
23
flavor: Flavor .production,
22
24
colorPrimary: constantColor.primaryColor500,
You can’t perform that action at this time.
0 commit comments