File tree Expand file tree Collapse file tree 18 files changed +76
-79
lines changed
flowy_infra_ui_platform_interface Expand file tree Collapse file tree 18 files changed +76
-79
lines changed Original file line number Diff line number Diff line change @@ -23,36 +23,32 @@ class InitAppWidgetTask extends LaunchTask {
2323 settingModel: settingModel,
2424 child: widget,
2525 );
26- BlocOverrides .runZoned (
27- () {
28- runApp (
29- EasyLocalization (
30- supportedLocales: const [
31- // In alphabetical order
32- Locale ('ca' , 'ES' ),
33- Locale ('de' , 'DE' ),
34- Locale ('en' ),
35- Locale ('es' , 'VE' ),
36- Locale ('fr' , 'FR' ),
37- Locale ('fr' , 'CA' ),
38- Locale ('hu' , 'HU' ),
39- Locale ('id' , 'ID' ),
40- Locale ('it' , 'IT' ),
41- Locale ('ja' , 'JP' ),
42- Locale ('pl' , 'PL' ),
43- Locale ('pt' , 'BR' ),
44- Locale ('ru' , 'RU' ),
45- Locale ('tr' , 'TR' ),
46- Locale ('zh' , 'CN' ),
47- ],
48- path: 'assets/translations' ,
49- fallbackLocale: const Locale ('en' ),
50- saveLocale: false ,
51- child: app,
52- ),
53- );
54- },
55- blocObserver: ApplicationBlocObserver (),
26+ Bloc .observer = ApplicationBlocObserver ();
27+ runApp (
28+ EasyLocalization (
29+ supportedLocales: const [
30+ // In alphabetical order
31+ Locale ('ca' , 'ES' ),
32+ Locale ('de' , 'DE' ),
33+ Locale ('en' ),
34+ Locale ('es' , 'VE' ),
35+ Locale ('fr' , 'FR' ),
36+ Locale ('fr' , 'CA' ),
37+ Locale ('hu' , 'HU' ),
38+ Locale ('id' , 'ID' ),
39+ Locale ('it' , 'IT' ),
40+ Locale ('ja' , 'JP' ),
41+ Locale ('pl' , 'PL' ),
42+ Locale ('pt' , 'BR' ),
43+ Locale ('ru' , 'RU' ),
44+ Locale ('tr' , 'TR' ),
45+ Locale ('zh' , 'CN' ),
46+ ],
47+ path: 'assets/translations' ,
48+ fallbackLocale: const Locale ('en' ),
49+ saveLocale: false ,
50+ child: app,
51+ ),
5652 );
5753
5854 return Future (() => {});
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ dev_dependencies:
4646 # activated in the `analysis_options.yaml` file located at the root of your
4747 # package. See that file for information about deactivating specific lint
4848 # rules and activating additional ones.
49- flutter_lints : ^2.0.0
49+ flutter_lints : ^2.0.1
5050
5151# For information on the generic Dart part of this file, see the
5252# following page: https://dart.dev/tools/pub/pubspec
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies:
1717dev_dependencies :
1818 flutter_test :
1919 sdk : flutter
20- flutter_lints : ^2.0.0
20+ flutter_lints : ^2.0.1
2121
2222# For information on the generic Dart part of this file, see the
2323# following page: https://dart.dev/tools/pub/pubspec
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ dev_dependencies:
5151 # activated in the `analysis_options.yaml` file located at the root of your
5252 # package. See that file for information about deactivating specific lint
5353 # rules and activating additional ones.
54- flutter_lints : ^2.0.0
54+ flutter_lints : ^2.0.1
5555
5656# For information on the generic Dart part of this file, see the
5757# following page: https://dart.dev/tools/pub/pubspec
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies:
2121dev_dependencies :
2222 flutter_test :
2323 sdk : flutter
24- flutter_lints : ^2.0.0
24+ flutter_lints : ^2.0.1
2525 network_image_mock : ^2.1.1
2626
2727# For information on the generic Dart part of this file, see the
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ class PublishNotifier<T> extends ChangeNotifier {
3737 () {
3838 if (_value == null ) {
3939 return ;
40- }
40+ } else {}
4141
4242 if (listenWhen != null && listenWhen () == false ) {
4343 return ;
4444 }
4545
46- callback (_value! );
46+ callback (_value as T );
4747 },
4848 );
4949 }
Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ packages:
6868 name: flutter_lints
6969 url: "https://pub.dartlang.org"
7070 source: hosted
71- version: "1 .0.4 "
71+ version: "2 .0.1 "
7272 flutter_svg:
7373 dependency: "direct main"
7474 description:
7575 name: flutter_svg
7676 url: "https://pub.dartlang.org"
7777 source: hosted
78- version: "0.22.0 "
78+ version: "1.1.4 "
7979 flutter_test:
8080 dependency: "direct dev"
8181 description: flutter
@@ -87,7 +87,7 @@ packages:
8787 name: lints
8888 url: "https://pub.dartlang.org"
8989 source: hosted
90- version: "1 .0.1 "
90+ version: "2 .0.0 "
9191 matcher:
9292 dependency: transitive
9393 description:
@@ -122,21 +122,21 @@ packages:
122122 name: path_drawing
123123 url: "https://pub.dartlang.org"
124124 source: hosted
125- version: "0.5 .1"
125+ version: "1.0 .1"
126126 path_parsing:
127127 dependency: transitive
128128 description:
129129 name: path_parsing
130130 url: "https://pub.dartlang.org"
131131 source: hosted
132- version: "0.2 .1"
132+ version: "1.0 .1"
133133 petitparser:
134134 dependency: transitive
135135 description:
136136 name: petitparser
137137 url: "https://pub.dartlang.org"
138138 source: hosted
139- version: "4.2 .0"
139+ version: "5.0 .0"
140140 sky_engine:
141141 dependency: transitive
142142 description: flutter
@@ -225,7 +225,7 @@ packages:
225225 name: xml
226226 url: "https://pub.dartlang.org"
227227 source: hosted
228- version: "5.2 .0"
228+ version: "6.1 .0"
229229sdks:
230- dart: ">=2.17.0-0 <3.0.0"
231- flutter: ">=1.24 .0-7.0 "
230+ dart: ">=2.17.0 <3.0.0"
231+ flutter: ">=2.11 .0-0.1.pre "
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies:
1818dev_dependencies :
1919 flutter_test :
2020 sdk : flutter
21- flutter_lints : ^1 .0.0
21+ flutter_lints : ^2 .0.1
2222
2323# For information on the generic Dart part of this file, see the
2424# following page: https://dart.dev/tools/pub/pubspec
Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ packages:
124124 name: flutter_lints
125125 url: "https://pub.dartlang.org"
126126 source: hosted
127- version: "1 .0.4 "
127+ version: "2 .0.1 "
128128 flutter_svg:
129129 dependency: transitive
130130 description:
131131 name: flutter_svg
132132 url: "https://pub.dartlang.org"
133133 source: hosted
134- version: "0.22.0 "
134+ version: "1.1.4 "
135135 flutter_test:
136136 dependency: "direct dev"
137137 description: flutter
@@ -162,7 +162,7 @@ packages:
162162 name: lints
163163 url: "https://pub.dartlang.org"
164164 source: hosted
165- version: "1 .0.1 "
165+ version: "2 .0.0 "
166166 loading_indicator:
167167 dependency: transitive
168168 description:
@@ -211,21 +211,21 @@ packages:
211211 name: path_drawing
212212 url: "https://pub.dartlang.org"
213213 source: hosted
214- version: "0.5.1+ 1"
214+ version: "1.0. 1"
215215 path_parsing:
216216 dependency: transitive
217217 description:
218218 name: path_parsing
219219 url: "https://pub.dartlang.org"
220220 source: hosted
221- version: "0.2 .1"
221+ version: "1.0 .1"
222222 petitparser:
223223 dependency: transitive
224224 description:
225225 name: petitparser
226226 url: "https://pub.dartlang.org"
227227 source: hosted
228- version: "4.4 .0"
228+ version: "5.0 .0"
229229 plugin_platform_interface:
230230 dependency: transitive
231231 description:
@@ -335,7 +335,7 @@ packages:
335335 name: xml
336336 url: "https://pub.dartlang.org"
337337 source: hosted
338- version: "5.3.1 "
338+ version: "6.1.0 "
339339sdks:
340- dart: ">=2.17.0-0 <3.0.0"
341- flutter: ">=2.0.0 "
340+ dart: ">=2.17.0 <3.0.0"
341+ flutter: ">=2.11.0-0.1.pre "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dev_dependencies:
1919 flutter_test :
2020 sdk : flutter
2121
22- flutter_lints : ^1 .0.0
22+ flutter_lints : ^2 .0.1
2323
2424flutter :
2525 uses-material-design : true
You can’t perform that action at this time.
0 commit comments