Skip to content

Commit ee9d01c

Browse files
committed
fix issue
1 parent 430ba1d commit ee9d01c

File tree

6 files changed

+51
-27
lines changed

6 files changed

+51
-27
lines changed

Diff for: lib/injection_container.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final getIt = GetIt.instance;
1212

1313
@injectableInit
1414
Future<void> configureDependencies() async {
15-
getIt.init();
15+
await getIt.init();
1616
}
1717

1818
@module

Diff for: lib/main.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ void main() async {
3333
runApp(
3434
MultiBlocProvider(
3535
providers: [
36-
BlocProvider<LanguageCubit>(
37-
create: (context) => getIt<LanguageCubit>(),
38-
),
3936
BlocProvider<ThemeCubit>(
4037
create: (context) => getIt<ThemeCubit>(),
4138
),
@@ -63,6 +60,9 @@ void main() async {
6360
BlocProvider<ExportBloc>(
6461
create: (context) => getIt<ExportBloc>(),
6562
),
63+
BlocProvider<LanguageCubit>(
64+
create: (context) => getIt<LanguageCubit>(),
65+
),
6666
],
6767
child: const MyApp(),
6868
),

Diff for: macos/Runner.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
isa = PBXProject;
260260
attributes = {
261261
LastSwiftUpdateCheck = 0920;
262-
LastUpgradeCheck = 1430;
262+
LastUpgradeCheck = 1510;
263263
ORGANIZATIONNAME = "";
264264
TargetAttributes = {
265265
331C80D4294CF70F00263BE5 = {

Diff for: macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Diff for: pubspec.lock

+43-19
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,10 @@ packages:
393393
dependency: "direct main"
394394
description:
395395
name: get_it
396-
sha256: f79870884de16d689cf9a7d15eedf31ed61d750e813c538a6efb92660fea83c3
396+
sha256: ae30b28cc73053f79fd46b15f430db16cae22a0554e6cd25333c840b310b0270
397397
url: "https://pub.dev"
398398
source: hosted
399-
version: "7.6.4"
399+
version: "7.6.9"
400400
glob:
401401
dependency: transitive
402402
description:
@@ -493,6 +493,30 @@ packages:
493493
url: "https://pub.dev"
494494
source: hosted
495495
version: "4.8.1"
496+
leak_tracker:
497+
dependency: transitive
498+
description:
499+
name: leak_tracker
500+
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
501+
url: "https://pub.dev"
502+
source: hosted
503+
version: "10.0.0"
504+
leak_tracker_flutter_testing:
505+
dependency: transitive
506+
description:
507+
name: leak_tracker_flutter_testing
508+
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
509+
url: "https://pub.dev"
510+
source: hosted
511+
version: "2.0.1"
512+
leak_tracker_testing:
513+
dependency: transitive
514+
description:
515+
name: leak_tracker_testing
516+
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
517+
url: "https://pub.dev"
518+
source: hosted
519+
version: "2.0.1"
496520
lints:
497521
dependency: transitive
498522
description:
@@ -513,26 +537,26 @@ packages:
513537
dependency: transitive
514538
description:
515539
name: matcher
516-
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
540+
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
517541
url: "https://pub.dev"
518542
source: hosted
519-
version: "0.12.16"
543+
version: "0.12.16+1"
520544
material_color_utilities:
521545
dependency: transitive
522546
description:
523547
name: material_color_utilities
524-
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
548+
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
525549
url: "https://pub.dev"
526550
source: hosted
527-
version: "0.5.0"
551+
version: "0.8.0"
528552
meta:
529553
dependency: transitive
530554
description:
531555
name: meta
532-
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
556+
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
533557
url: "https://pub.dev"
534558
source: hosted
535-
version: "1.10.0"
559+
version: "1.11.0"
536560
mime:
537561
dependency: transitive
538562
description:
@@ -569,10 +593,10 @@ packages:
569593
dependency: transitive
570594
description:
571595
name: path
572-
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
596+
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
573597
url: "https://pub.dev"
574598
source: hosted
575-
version: "1.8.3"
599+
version: "1.9.0"
576600
path_parsing:
577601
dependency: transitive
578602
description:
@@ -1059,22 +1083,22 @@ packages:
10591083
url: "https://pub.dev"
10601084
source: hosted
10611085
version: "2.1.4"
1062-
watcher:
1086+
vm_service:
10631087
dependency: transitive
10641088
description:
1065-
name: watcher
1066-
sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
1089+
name: vm_service
1090+
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
10671091
url: "https://pub.dev"
10681092
source: hosted
1069-
version: "1.1.0"
1070-
web:
1093+
version: "13.0.0"
1094+
watcher:
10711095
dependency: transitive
10721096
description:
1073-
name: web
1074-
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
1097+
name: watcher
1098+
sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
10751099
url: "https://pub.dev"
10761100
source: hosted
1077-
version: "0.3.0"
1101+
version: "1.1.0"
10781102
web_socket_channel:
10791103
dependency: transitive
10801104
description:
@@ -1116,5 +1140,5 @@ packages:
11161140
source: hosted
11171141
version: "3.1.2"
11181142
sdks:
1119-
dart: ">=3.2.0-194.0.dev <4.0.0"
1143+
dart: ">=3.2.0-0 <4.0.0"
11201144
flutter: ">=3.13.0"

Diff for: pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 1.0.10+12
18+
version: 1.0.12+13
1919

2020
environment:
2121
sdk: '>=3.0.5 <4.0.0'
@@ -39,7 +39,7 @@ dependencies:
3939
cached_network_image: ^3.3.0
4040
bloc: ^8.1.2
4141
flutter_bloc: ^8.1.3
42-
get_it: ^7.6.4
42+
get_it: ^7.6.9
4343
fluttertoast: ^8.2.2
4444
url_strategy: ^0.2.0
4545
animation_wrappers: ^3.0.0

0 commit comments

Comments
 (0)