Showing
9 changed files
with
190 additions
and
186 deletions
1 | -# Generated by pub on 2019-08-23 16:15:58.801584. | ||
2 | -async:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.2.0/lib/ | ||
3 | -boolean_selector:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib/ | 1 | +# Generated by pub on 2019-11-29 11:35:05.551229. |
2 | +async:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.3.0/lib/ | ||
3 | +boolean_selector:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.5/lib/ | ||
4 | charcode:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib/ | 4 | charcode:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib/ |
5 | collection:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib/ | 5 | collection:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib/ |
6 | flutter:file:///D:/flutter/packages/flutter/lib/ | 6 | flutter:file:///D:/flutter/packages/flutter/lib/ |
7 | flutter_test:file:///D:/flutter/packages/flutter_test/lib/ | 7 | flutter_test:file:///D:/flutter/packages/flutter_test/lib/ |
8 | matcher:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.5/lib/ | 8 | matcher:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.5/lib/ |
9 | -meta:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.1.6/lib/ | ||
10 | -path:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.6.2/lib/ | ||
11 | -pedantic:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/pedantic-1.7.0/lib/ | ||
12 | -quiver:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/quiver-2.0.3/lib/ | 9 | +meta:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.1.7/lib/ |
10 | +path:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.6.4/lib/ | ||
11 | +pedantic:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/pedantic-1.8.0+1/lib/ | ||
12 | +quiver:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/quiver-2.0.5/lib/ | ||
13 | sky_engine:file:///D:/flutter/bin/cache/pkg/sky_engine/lib/ | 13 | sky_engine:file:///D:/flutter/bin/cache/pkg/sky_engine/lib/ |
14 | source_span:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.5.5/lib/ | 14 | source_span:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.5.5/lib/ |
15 | stack_trace:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib/ | 15 | stack_trace:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib/ |
16 | stream_channel:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.0.0/lib/ | 16 | stream_channel:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.0.0/lib/ |
17 | -string_scanner:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.0.4/lib/ | 17 | +string_scanner:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.0.5/lib/ |
18 | term_glyph:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.1.0/lib/ | 18 | term_glyph:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.1.0/lib/ |
19 | test_api:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.5/lib/ | 19 | test_api:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.5/lib/ |
20 | typed_data:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib/ | 20 | typed_data:file:///D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib/ |
1 | -<!-- | ||
2 | - * @Author: zhuoyuan93@gmail.com | ||
3 | - * @Date: 2018-10-16 19:43:03 | ||
4 | - * @LastEditors: zhuoyuan93@gmail.com | ||
5 | - * @LastEditTime: 2019-11-19 11:41 | ||
6 | - * @Description: Update log | ||
7 | - --> | ||
8 | - | ||
9 | -# 0.6.1 | ||
10 | - | ||
11 | -- 给所有方法添加返回类型. | ||
12 | - | ||
13 | -# 0.6.0 | ||
14 | - | ||
15 | -- Completing comments , adding English commentsWelcome to add, correct | ||
16 | -- 参数同时支持传入 int / double 或者是var size = 100 , var size = 100.0. | ||
17 | -- The argument also supports passing in in / double / var size = 100 /var size = 100.0 | ||
18 | - | ||
19 | -# 0.5.3 | ||
20 | - | ||
21 | -- Change the units of statusBarHeight and bottomBarHeight to dp | ||
22 | - | ||
23 | -# 0.5.2 | ||
24 | - | ||
25 | -- Change the parameter type from int to double | ||
26 | - | ||
27 | -- setWidth,setHeight,setSp. for example: you can use setWidth(100) or setWidth(100.0) | ||
28 | - | ||
29 | -# 0.5.1 | ||
30 | - | ||
31 | -- Fix the wrong way of using | ||
32 | - | ||
33 | -- It is recommended to use `ScreenUtil.getInstance()` instead of `ScreenUtil()` , for example: `ScreenUtil.getInstance().setHeight(25)` instead of `ScreenUtil().setHeight(25)` | ||
34 | - | ||
35 | -# 0.4.4 | ||
36 | - | ||
37 | -- Fix bugs that default fonts change with the system | ||
38 | - | ||
39 | -# 0.4.3 | ||
40 | - | ||
41 | -- Modify the font to change with the system zoom mode. The default value is false. | ||
42 | - | ||
43 | -- setSp(int fontSize, [allowFontScaling = false]) => allowFontScaling | ||
44 | -? setWidth(fontSize) \* \_textScaleFactor | ||
45 | -: setWidth(fontSize); | ||
46 | - | ||
47 | -# 0.4.2 | ||
48 | - | ||
49 | -- add two Properties | ||
50 | -- ///Current device width dp | ||
51 | -- ///当前设备宽度 dp | ||
52 | -- ScreenUtil.screenWidthDp | ||
53 | - | ||
54 | -- ///Current device height dp | ||
55 | -- ///当前设备高度 dp | ||
56 | -- ScreenUtil.screenHeightDp | ||
57 | - | ||
58 | -# 0.4.1 | ||
59 | - | ||
60 | -- Fix font adaptation issues | ||
61 | - | ||
62 | -# 0.4.0 | ||
63 | - | ||
64 | -- Optimize font adaptation method | ||
65 | - | ||
66 | -# 0.3.1 | ||
67 | - | ||
68 | -- Perfect documentation | ||
69 | -- Width is enlarged relative to the design draft => The ratio of font and width to the size of the design | ||
70 | -- Height is enlarged relative to the design draft => The ratio of height width to the size of the design | ||
71 | - | ||
72 | - | ||
73 | -# 0.3.0 | ||
74 | - | ||
75 | -- Add font size adaptation | ||
76 | - | ||
77 | -# 0.2.2 | ||
78 | - | ||
79 | -- Optimize documentation | ||
80 | - | ||
81 | -# 0.0.2 | ||
82 | - | ||
83 | -- Fixed bug when releasing | ||
84 | - | ||
85 | -# 0.0.1 | ||
86 | - | ||
87 | -- first version | ||
88 | - | ||
89 | - | ||
90 | - | ||
91 | - | 1 | +<!-- |
2 | + * @Author: zhuoyuan93@gmail.com | ||
3 | + * @Date: 2018-10-16 19:43:03 | ||
4 | + * @LastEditors: zhuoyuan93@gmail.com | ||
5 | + * @LastEditTime: 2019-11-19 11:41 | ||
6 | + * @Description: Update log | ||
7 | + --> | ||
8 | + | ||
9 | +#0.7.0 | ||
10 | + | ||
11 | +- Replace textScaleFactory with textScaleFactor , It's a typo. | ||
12 | + | ||
13 | +# 0.6.1 | ||
14 | + | ||
15 | +- Add return types to all methods. | ||
16 | + | ||
17 | +# 0.6.0 | ||
18 | + | ||
19 | +- Completing comments , adding English commentsWelcome to add, correct | ||
20 | +- 参数同时支持传入 int / double 或者是var size = 100 , var size = 100.0. | ||
21 | +- The argument also supports passing in in / double / var size = 100 /var size = 100.0 | ||
22 | + | ||
23 | +# 0.5.3 | ||
24 | + | ||
25 | +- Change the units of statusBarHeight and bottomBarHeight to dp | ||
26 | + | ||
27 | +# 0.5.2 | ||
28 | + | ||
29 | +- Change the parameter type from int to double | ||
30 | + | ||
31 | +- setWidth,setHeight,setSp. for example: you can use setWidth(100) or setWidth(100.0) | ||
32 | + | ||
33 | +# 0.5.1 | ||
34 | + | ||
35 | +- Fix the wrong way of using | ||
36 | + | ||
37 | +- It is recommended to use `ScreenUtil.getInstance()` instead of `ScreenUtil()` , for example: `ScreenUtil.getInstance().setHeight(25)` instead of `ScreenUtil().setHeight(25)` | ||
38 | + | ||
39 | +# 0.4.4 | ||
40 | + | ||
41 | +- Fix bugs that default fonts change with the system | ||
42 | + | ||
43 | +# 0.4.3 | ||
44 | + | ||
45 | +- Modify the font to change with the system zoom mode. The default value is false. | ||
46 | + | ||
47 | +- setSp(int fontSize, [allowFontScaling = false]) => allowFontScaling | ||
48 | +? setWidth(fontSize) \* \_textScaleFactor | ||
49 | +: setWidth(fontSize); | ||
50 | + | ||
51 | +# 0.4.2 | ||
52 | + | ||
53 | +- add two Properties | ||
54 | +- ///Current device width dp | ||
55 | +- ///当前设备宽度 dp | ||
56 | +- ScreenUtil.screenWidthDp | ||
57 | + | ||
58 | +- ///Current device height dp | ||
59 | +- ///当前设备高度 dp | ||
60 | +- ScreenUtil.screenHeightDp | ||
61 | + | ||
62 | +# 0.4.1 | ||
63 | + | ||
64 | +- Fix font adaptation issues | ||
65 | + | ||
66 | +# 0.4.0 | ||
67 | + | ||
68 | +- Optimize font adaptation method | ||
69 | + | ||
70 | +# 0.3.1 | ||
71 | + | ||
72 | +- Perfect documentation | ||
73 | +- Width is enlarged relative to the design draft => The ratio of font and width to the size of the design | ||
74 | +- Height is enlarged relative to the design draft => The ratio of height width to the size of the design | ||
75 | + | ||
76 | + | ||
77 | +# 0.3.0 | ||
78 | + | ||
79 | +- Add font size adaptation | ||
80 | + | ||
81 | +# 0.2.2 | ||
82 | + | ||
83 | +- Optimize documentation | ||
84 | + | ||
85 | +# 0.0.2 | ||
86 | + | ||
87 | +- Fixed bug when releasing | ||
88 | + | ||
89 | +# 0.0.1 | ||
90 | + | ||
91 | +- first version | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + |
@@ -130,7 +130,7 @@ Column( | @@ -130,7 +130,7 @@ Column( | ||
130 | ScreenUtil.screenHeight //设备高度 | 130 | ScreenUtil.screenHeight //设备高度 |
131 | ScreenUtil.bottomBarHeight //底部安全区距离,适用于全面屏下面有按键的 | 131 | ScreenUtil.bottomBarHeight //底部安全区距离,适用于全面屏下面有按键的 |
132 | ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位px | 132 | ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位px |
133 | - ScreenUtil.textScaleFactory //系统字体缩放比例 | 133 | + ScreenUtil.textScaleFactor //系统字体缩放比例 |
134 | 134 | ||
135 | ScreenUtil.getInstance().scaleWidth // 实际宽度的dp与设计稿px的比例 | 135 | ScreenUtil.getInstance().scaleWidth // 实际宽度的dp与设计稿px的比例 |
136 | ScreenUtil.getInstance().scaleHeight // 实际高度的dp与设计稿px的比例 | 136 | ScreenUtil.getInstance().scaleHeight // 实际高度的dp与设计稿px的比例 |
@@ -163,7 +163,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -163,7 +163,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
163 | '宽度和字体相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleWidth * ScreenUtil.pixelRatio}'); | 163 | '宽度和字体相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleWidth * ScreenUtil.pixelRatio}'); |
164 | print( | 164 | print( |
165 | '高度相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleHeight * ScreenUtil.pixelRatio}'); | 165 | '高度相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleHeight * ScreenUtil.pixelRatio}'); |
166 | - print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'); | 166 | + print('系统的字体缩放比例:${ScreenUtil.textScaleFactor}'); |
167 | 167 | ||
168 | return new Scaffold( | 168 | return new Scaffold( |
169 | appBar: new AppBar( | 169 | appBar: new AppBar( |
@@ -225,7 +225,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -225,7 +225,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
225 | SizedBox( | 225 | SizedBox( |
226 | height: ScreenUtil.getInstance().setHeight(100), | 226 | height: ScreenUtil.getInstance().setHeight(100), |
227 | ), | 227 | ), |
228 | - Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'), | 228 | + Text('系统的字体缩放比例:${ScreenUtil.textScaleFactor}'), |
229 | Column( | 229 | Column( |
230 | crossAxisAlignment: CrossAxisAlignment.start, | 230 | crossAxisAlignment: CrossAxisAlignment.start, |
231 | children: <Widget>[ | 231 | children: <Widget>[ |
@@ -134,7 +134,7 @@ Column( | @@ -134,7 +134,7 @@ Column( | ||
134 | ScreenUtil.screenHeight //Altura da tela do dispositivo | 134 | ScreenUtil.screenHeight //Altura da tela do dispositivo |
135 | ScreenUtil.bottomBarHeight //Distância segura do rodapé, adequada para botões em tela cheia | 135 | ScreenUtil.bottomBarHeight //Distância segura do rodapé, adequada para botões em tela cheia |
136 | ScreenUtil.statusBarHeight //Altura da status bar em pixels, Notch será maior | 136 | ScreenUtil.statusBarHeight //Altura da status bar em pixels, Notch será maior |
137 | - ScreenUtil.textScaleFactory //Fator de escala da fonte do sistema | 137 | + ScreenUtil.textScaleFactor //Fator de escala da fonte do sistema |
138 | 138 | ||
139 | ScreenUtil.getInstance().scaleWidth //Razão entre a largura atual e a largura do protótipo de design em pixels | 139 | ScreenUtil.getInstance().scaleWidth //Razão entre a largura atual e a largura do protótipo de design em pixels |
140 | ScreenUtil.getInstance().scaleHeight //Razão entre a altura atual e a altura do protótipo de design em pixels | 140 | ScreenUtil.getInstance().scaleHeight //Razão entre a altura atual e a altura do protótipo de design em pixels |
@@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
227 | SizedBox( | 227 | SizedBox( |
228 | height: ScreenUtil.getInstance().setHeight(100), | 228 | height: ScreenUtil.getInstance().setHeight(100), |
229 | ), | 229 | ), |
230 | - Text('Fator de escala da fonte do sistema:${ScreenUtil.textScaleFactory}'), | 230 | + Text('Fator de escala da fonte do sistema:${ScreenUtil.textScaleFactor}'), |
231 | Column( | 231 | Column( |
232 | crossAxisAlignment: CrossAxisAlignment.start, | 232 | crossAxisAlignment: CrossAxisAlignment.start, |
233 | children: <Widget>[ | 233 | children: <Widget>[ |
@@ -105,7 +105,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -105,7 +105,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
105 | SizedBox( | 105 | SizedBox( |
106 | height: ScreenUtil.getInstance().setHeight(100), | 106 | height: ScreenUtil.getInstance().setHeight(100), |
107 | ), | 107 | ), |
108 | - Text('System font scaling factor:${ScreenUtil.textScaleFactory}'), | 108 | + Text('System font scaling factor:${ScreenUtil.textScaleFactor}'), |
109 | Column( | 109 | Column( |
110 | crossAxisAlignment: CrossAxisAlignment.start, | 110 | crossAxisAlignment: CrossAxisAlignment.start, |
111 | children: <Widget>[ | 111 | children: <Widget>[ |
@@ -47,7 +47,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -47,7 +47,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
47 | '宽度和字体相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleWidth * ScreenUtil.pixelRatio}'); | 47 | '宽度和字体相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleWidth * ScreenUtil.pixelRatio}'); |
48 | print( | 48 | print( |
49 | '高度相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleHeight * ScreenUtil.pixelRatio}'); | 49 | '高度相对于设计稿放大的比例:${ScreenUtil.getInstance().scaleHeight * ScreenUtil.pixelRatio}'); |
50 | - print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'); | 50 | + print('系统的字体缩放比例:${ScreenUtil.textScaleFactor}'); |
51 | 51 | ||
52 | return Scaffold( | 52 | return Scaffold( |
53 | appBar: AppBar( | 53 | appBar: AppBar( |
@@ -115,7 +115,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -115,7 +115,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
115 | SizedBox( | 115 | SizedBox( |
116 | height: ScreenUtil.getInstance().setHeight(100), | 116 | height: ScreenUtil.getInstance().setHeight(100), |
117 | ), | 117 | ), |
118 | - Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'), | 118 | + Text('系统的字体缩放比例:${ScreenUtil.textScaleFactor}'), |
119 | Column( | 119 | Column( |
120 | crossAxisAlignment: CrossAxisAlignment.start, | 120 | crossAxisAlignment: CrossAxisAlignment.start, |
121 | children: <Widget>[ | 121 | children: <Widget>[ |
@@ -5,35 +5,35 @@ packages: | @@ -5,35 +5,35 @@ packages: | ||
5 | dependency: transitive | 5 | dependency: transitive |
6 | description: | 6 | description: |
7 | name: async | 7 | name: async |
8 | - url: "https://pub.dartlang.org" | 8 | + url: "https://pub.flutter-io.cn" |
9 | source: hosted | 9 | source: hosted |
10 | version: "2.3.0" | 10 | version: "2.3.0" |
11 | boolean_selector: | 11 | boolean_selector: |
12 | dependency: transitive | 12 | dependency: transitive |
13 | description: | 13 | description: |
14 | name: boolean_selector | 14 | name: boolean_selector |
15 | - url: "https://pub.dartlang.org" | 15 | + url: "https://pub.flutter-io.cn" |
16 | source: hosted | 16 | source: hosted |
17 | version: "1.0.5" | 17 | version: "1.0.5" |
18 | charcode: | 18 | charcode: |
19 | dependency: transitive | 19 | dependency: transitive |
20 | description: | 20 | description: |
21 | name: charcode | 21 | name: charcode |
22 | - url: "https://pub.dartlang.org" | 22 | + url: "https://pub.flutter-io.cn" |
23 | source: hosted | 23 | source: hosted |
24 | version: "1.1.2" | 24 | version: "1.1.2" |
25 | collection: | 25 | collection: |
26 | dependency: transitive | 26 | dependency: transitive |
27 | description: | 27 | description: |
28 | name: collection | 28 | name: collection |
29 | - url: "https://pub.dartlang.org" | 29 | + url: "https://pub.flutter-io.cn" |
30 | source: hosted | 30 | source: hosted |
31 | version: "1.14.11" | 31 | version: "1.14.11" |
32 | cupertino_icons: | 32 | cupertino_icons: |
33 | dependency: "direct main" | 33 | dependency: "direct main" |
34 | description: | 34 | description: |
35 | name: cupertino_icons | 35 | name: cupertino_icons |
36 | - url: "https://pub.dartlang.org" | 36 | + url: "https://pub.flutter-io.cn" |
37 | source: hosted | 37 | source: hosted |
38 | version: "0.1.2" | 38 | version: "0.1.2" |
39 | flutter: | 39 | flutter: |
@@ -47,7 +47,7 @@ packages: | @@ -47,7 +47,7 @@ packages: | ||
47 | path: ".." | 47 | path: ".." |
48 | relative: true | 48 | relative: true |
49 | source: path | 49 | source: path |
50 | - version: "0.6.0" | 50 | + version: "0.6.1" |
51 | flutter_test: | 51 | flutter_test: |
52 | dependency: "direct dev" | 52 | dependency: "direct dev" |
53 | description: flutter | 53 | description: flutter |
@@ -57,35 +57,35 @@ packages: | @@ -57,35 +57,35 @@ packages: | ||
57 | dependency: transitive | 57 | dependency: transitive |
58 | description: | 58 | description: |
59 | name: matcher | 59 | name: matcher |
60 | - url: "https://pub.dartlang.org" | 60 | + url: "https://pub.flutter-io.cn" |
61 | source: hosted | 61 | source: hosted |
62 | version: "0.12.5" | 62 | version: "0.12.5" |
63 | meta: | 63 | meta: |
64 | dependency: transitive | 64 | dependency: transitive |
65 | description: | 65 | description: |
66 | name: meta | 66 | name: meta |
67 | - url: "https://pub.dartlang.org" | 67 | + url: "https://pub.flutter-io.cn" |
68 | source: hosted | 68 | source: hosted |
69 | version: "1.1.7" | 69 | version: "1.1.7" |
70 | path: | 70 | path: |
71 | dependency: transitive | 71 | dependency: transitive |
72 | description: | 72 | description: |
73 | name: path | 73 | name: path |
74 | - url: "https://pub.dartlang.org" | 74 | + url: "https://pub.flutter-io.cn" |
75 | source: hosted | 75 | source: hosted |
76 | version: "1.6.4" | 76 | version: "1.6.4" |
77 | pedantic: | 77 | pedantic: |
78 | dependency: transitive | 78 | dependency: transitive |
79 | description: | 79 | description: |
80 | name: pedantic | 80 | name: pedantic |
81 | - url: "https://pub.dartlang.org" | 81 | + url: "https://pub.flutter-io.cn" |
82 | source: hosted | 82 | source: hosted |
83 | version: "1.8.0+1" | 83 | version: "1.8.0+1" |
84 | quiver: | 84 | quiver: |
85 | dependency: transitive | 85 | dependency: transitive |
86 | description: | 86 | description: |
87 | name: quiver | 87 | name: quiver |
88 | - url: "https://pub.dartlang.org" | 88 | + url: "https://pub.flutter-io.cn" |
89 | source: hosted | 89 | source: hosted |
90 | version: "2.0.5" | 90 | version: "2.0.5" |
91 | sky_engine: | 91 | sky_engine: |
@@ -97,56 +97,56 @@ packages: | @@ -97,56 +97,56 @@ packages: | ||
97 | dependency: transitive | 97 | dependency: transitive |
98 | description: | 98 | description: |
99 | name: source_span | 99 | name: source_span |
100 | - url: "https://pub.dartlang.org" | 100 | + url: "https://pub.flutter-io.cn" |
101 | source: hosted | 101 | source: hosted |
102 | version: "1.5.5" | 102 | version: "1.5.5" |
103 | stack_trace: | 103 | stack_trace: |
104 | dependency: transitive | 104 | dependency: transitive |
105 | description: | 105 | description: |
106 | name: stack_trace | 106 | name: stack_trace |
107 | - url: "https://pub.dartlang.org" | 107 | + url: "https://pub.flutter-io.cn" |
108 | source: hosted | 108 | source: hosted |
109 | version: "1.9.3" | 109 | version: "1.9.3" |
110 | stream_channel: | 110 | stream_channel: |
111 | dependency: transitive | 111 | dependency: transitive |
112 | description: | 112 | description: |
113 | name: stream_channel | 113 | name: stream_channel |
114 | - url: "https://pub.dartlang.org" | 114 | + url: "https://pub.flutter-io.cn" |
115 | source: hosted | 115 | source: hosted |
116 | version: "2.0.0" | 116 | version: "2.0.0" |
117 | string_scanner: | 117 | string_scanner: |
118 | dependency: transitive | 118 | dependency: transitive |
119 | description: | 119 | description: |
120 | name: string_scanner | 120 | name: string_scanner |
121 | - url: "https://pub.dartlang.org" | 121 | + url: "https://pub.flutter-io.cn" |
122 | source: hosted | 122 | source: hosted |
123 | version: "1.0.5" | 123 | version: "1.0.5" |
124 | term_glyph: | 124 | term_glyph: |
125 | dependency: transitive | 125 | dependency: transitive |
126 | description: | 126 | description: |
127 | name: term_glyph | 127 | name: term_glyph |
128 | - url: "https://pub.dartlang.org" | 128 | + url: "https://pub.flutter-io.cn" |
129 | source: hosted | 129 | source: hosted |
130 | version: "1.1.0" | 130 | version: "1.1.0" |
131 | test_api: | 131 | test_api: |
132 | dependency: transitive | 132 | dependency: transitive |
133 | description: | 133 | description: |
134 | name: test_api | 134 | name: test_api |
135 | - url: "https://pub.dartlang.org" | 135 | + url: "https://pub.flutter-io.cn" |
136 | source: hosted | 136 | source: hosted |
137 | version: "0.2.5" | 137 | version: "0.2.5" |
138 | typed_data: | 138 | typed_data: |
139 | dependency: transitive | 139 | dependency: transitive |
140 | description: | 140 | description: |
141 | name: typed_data | 141 | name: typed_data |
142 | - url: "https://pub.dartlang.org" | 142 | + url: "https://pub.flutter-io.cn" |
143 | source: hosted | 143 | source: hosted |
144 | version: "1.1.6" | 144 | version: "1.1.6" |
145 | vector_math: | 145 | vector_math: |
146 | dependency: transitive | 146 | dependency: transitive |
147 | description: | 147 | description: |
148 | name: vector_math | 148 | name: vector_math |
149 | - url: "https://pub.dartlang.org" | 149 | + url: "https://pub.flutter-io.cn" |
150 | source: hosted | 150 | source: hosted |
151 | version: "2.0.8" | 151 | version: "2.0.8" |
152 | sdks: | 152 | sdks: |
@@ -7,14 +7,14 @@ packages: | @@ -7,14 +7,14 @@ packages: | ||
7 | name: async | 7 | name: async |
8 | url: "https://pub.flutter-io.cn" | 8 | url: "https://pub.flutter-io.cn" |
9 | source: hosted | 9 | source: hosted |
10 | - version: "2.2.0" | 10 | + version: "2.3.0" |
11 | boolean_selector: | 11 | boolean_selector: |
12 | dependency: transitive | 12 | dependency: transitive |
13 | description: | 13 | description: |
14 | name: boolean_selector | 14 | name: boolean_selector |
15 | url: "https://pub.flutter-io.cn" | 15 | url: "https://pub.flutter-io.cn" |
16 | source: hosted | 16 | source: hosted |
17 | - version: "1.0.4" | 17 | + version: "1.0.5" |
18 | charcode: | 18 | charcode: |
19 | dependency: transitive | 19 | dependency: transitive |
20 | description: | 20 | description: |
@@ -52,28 +52,28 @@ packages: | @@ -52,28 +52,28 @@ packages: | ||
52 | name: meta | 52 | name: meta |
53 | url: "https://pub.flutter-io.cn" | 53 | url: "https://pub.flutter-io.cn" |
54 | source: hosted | 54 | source: hosted |
55 | - version: "1.1.6" | 55 | + version: "1.1.7" |
56 | path: | 56 | path: |
57 | dependency: transitive | 57 | dependency: transitive |
58 | description: | 58 | description: |
59 | name: path | 59 | name: path |
60 | url: "https://pub.flutter-io.cn" | 60 | url: "https://pub.flutter-io.cn" |
61 | source: hosted | 61 | source: hosted |
62 | - version: "1.6.2" | 62 | + version: "1.6.4" |
63 | pedantic: | 63 | pedantic: |
64 | dependency: transitive | 64 | dependency: transitive |
65 | description: | 65 | description: |
66 | name: pedantic | 66 | name: pedantic |
67 | url: "https://pub.flutter-io.cn" | 67 | url: "https://pub.flutter-io.cn" |
68 | source: hosted | 68 | source: hosted |
69 | - version: "1.7.0" | 69 | + version: "1.8.0+1" |
70 | quiver: | 70 | quiver: |
71 | dependency: transitive | 71 | dependency: transitive |
72 | description: | 72 | description: |
73 | name: quiver | 73 | name: quiver |
74 | url: "https://pub.flutter-io.cn" | 74 | url: "https://pub.flutter-io.cn" |
75 | source: hosted | 75 | source: hosted |
76 | - version: "2.0.3" | 76 | + version: "2.0.5" |
77 | sky_engine: | 77 | sky_engine: |
78 | dependency: transitive | 78 | dependency: transitive |
79 | description: flutter | 79 | description: flutter |
@@ -106,7 +106,7 @@ packages: | @@ -106,7 +106,7 @@ packages: | ||
106 | name: string_scanner | 106 | name: string_scanner |
107 | url: "https://pub.flutter-io.cn" | 107 | url: "https://pub.flutter-io.cn" |
108 | source: hosted | 108 | source: hosted |
109 | - version: "1.0.4" | 109 | + version: "1.0.5" |
110 | term_glyph: | 110 | term_glyph: |
111 | dependency: transitive | 111 | dependency: transitive |
112 | description: | 112 | description: |
1 | -name: flutter_screenutil | ||
2 | -description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models | ||
3 | -version: 0.6.1 | ||
4 | -author: LiZhuoyuan <zhuoyuan93@gmail.com> | ||
5 | -homepage: https://github.com/OpenFlutter/flutter_ScreenUtil | ||
6 | - | ||
7 | -environment: | ||
8 | - sdk: ">=2.0.0-dev.68.0 <3.0.0" | ||
9 | - | ||
10 | -dependencies: | ||
11 | - flutter: | ||
12 | - sdk: flutter | ||
13 | - | ||
14 | -dev_dependencies: | ||
15 | - flutter_test: | ||
16 | - sdk: flutter | ||
17 | - | ||
18 | -# For information on the generic Dart part of this file, see the | ||
19 | -# following page: https://www.dartlang.org/tools/pub/pubspec | ||
20 | - | ||
21 | -# The following section is specific to Flutter. | ||
22 | -flutter: | ||
23 | - | ||
24 | - # To add assets to your package, add an assets section, like this: | ||
25 | - # assets: | ||
26 | - # - images/a_dot_burr.jpeg | ||
27 | - # - images/a_dot_ham.jpeg | ||
28 | - # | ||
29 | - # For details regarding assets in packages, see | ||
30 | - # https://flutter.io/assets-and-images/#from-packages | ||
31 | - # | ||
32 | - # An image asset can refer to one or more resolution-specific "variants", see | ||
33 | - # https://flutter.io/assets-and-images/#resolution-aware. | ||
34 | - | ||
35 | - # To add custom fonts to your package, add a fonts section here, | ||
36 | - # in this "flutter" section. Each entry in this list should have a | ||
37 | - # "family" key with the font family name, and a "fonts" key with a | ||
38 | - # list giving the asset and other descriptors for the font. For | ||
39 | - # example: | ||
40 | - # fonts: | ||
41 | - # - family: Schyler | ||
42 | - # fonts: | ||
43 | - # - asset: fonts/Schyler-Regular.ttf | ||
44 | - # - asset: fonts/Schyler-Italic.ttf | ||
45 | - # style: italic | ||
46 | - # - family: Trajan Pro | ||
47 | - # fonts: | ||
48 | - # - asset: fonts/TrajanPro.ttf | ||
49 | - # - asset: fonts/TrajanPro_Bold.ttf | ||
50 | - # weight: 700 | ||
51 | - # | ||
52 | - # For details regarding fonts in packages, see | ||
53 | - # https://flutter.io/custom-fonts/#from-packages | 1 | +name: flutter_screenutil |
2 | +description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models | ||
3 | +version: 0.7.0 | ||
4 | +author: LiZhuoyuan <zhuoyuan93@gmail.com> | ||
5 | +homepage: https://github.com/OpenFlutter/flutter_ScreenUtil | ||
6 | + | ||
7 | +environment: | ||
8 | + sdk: ">=2.0.0-dev.68.0 <3.0.0" | ||
9 | + | ||
10 | +dependencies: | ||
11 | + flutter: | ||
12 | + sdk: flutter | ||
13 | + | ||
14 | +dev_dependencies: | ||
15 | + flutter_test: | ||
16 | + sdk: flutter | ||
17 | + | ||
18 | +# For information on the generic Dart part of this file, see the | ||
19 | +# following page: https://www.dartlang.org/tools/pub/pubspec | ||
20 | + | ||
21 | +# The following section is specific to Flutter. | ||
22 | +flutter: | ||
23 | + | ||
24 | + # To add assets to your package, add an assets section, like this: | ||
25 | + # assets: | ||
26 | + # - images/a_dot_burr.jpeg | ||
27 | + # - images/a_dot_ham.jpeg | ||
28 | + # | ||
29 | + # For details regarding assets in packages, see | ||
30 | + # https://flutter.io/assets-and-images/#from-packages | ||
31 | + # | ||
32 | + # An image asset can refer to one or more resolution-specific "variants", see | ||
33 | + # https://flutter.io/assets-and-images/#resolution-aware. | ||
34 | + | ||
35 | + # To add custom fonts to your package, add a fonts section here, | ||
36 | + # in this "flutter" section. Each entry in this list should have a | ||
37 | + # "family" key with the font family name, and a "fonts" key with a | ||
38 | + # list giving the asset and other descriptors for the font. For | ||
39 | + # example: | ||
40 | + # fonts: | ||
41 | + # - family: Schyler | ||
42 | + # fonts: | ||
43 | + # - asset: fonts/Schyler-Regular.ttf | ||
44 | + # - asset: fonts/Schyler-Italic.ttf | ||
45 | + # style: italic | ||
46 | + # - family: Trajan Pro | ||
47 | + # fonts: | ||
48 | + # - asset: fonts/TrajanPro.ttf | ||
49 | + # - asset: fonts/TrajanPro_Bold.ttf | ||
50 | + # weight: 700 | ||
51 | + # | ||
52 | + # For details regarding fonts in packages, see | ||
53 | + # https://flutter.io/custom-fonts/#from-packages |
-
Please register or login to post a comment