Showing
8 changed files
with
74 additions
and
72 deletions
| 1 | -# Generated by pub on 2019-05-15 14:31:19.119581. | ||
| 2 | -async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.1.0/lib/ | ||
| 3 | -boolean_selector:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.4/lib/ | ||
| 4 | -charcode:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/ | ||
| 5 | -collection:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/ | ||
| 6 | -flutter:file:///D:/flutter/packages/flutter/lib/ | ||
| 7 | -flutter_test:file:///D:/flutter/packages/flutter_test/lib/ | ||
| 8 | -matcher:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.5/lib/ | ||
| 9 | -meta:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/ | ||
| 10 | -path:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.2/lib/ | ||
| 11 | -pedantic:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.5.0/lib/ | ||
| 12 | -quiver:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.2/lib/ | ||
| 13 | -sky_engine:file:///D:/flutter/bin/cache/pkg/sky_engine/lib/ | ||
| 14 | -source_span:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5/lib/ | ||
| 15 | -stack_trace:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/ | ||
| 16 | -stream_channel:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/ | ||
| 17 | -string_scanner:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.4/lib/ | ||
| 18 | -term_glyph:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/ | ||
| 19 | -test_api:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.4/lib/ | ||
| 20 | -typed_data:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/ | ||
| 21 | -vector_math:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/ | 1 | +# Generated by pub on 2019-06-22 18:24:22.703599. |
| 2 | +async:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.1.0/lib/ | ||
| 3 | +boolean_selector:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib/ | ||
| 4 | +charcode:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib/ | ||
| 5 | +collection:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib/ | ||
| 6 | +flutter:file:///D:/Develop/flutter/packages/flutter/lib/ | ||
| 7 | +flutter_test:file:///D:/Develop/flutter/packages/flutter_test/lib/ | ||
| 8 | +matcher:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.5/lib/ | ||
| 9 | +meta:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.1.6/lib/ | ||
| 10 | +path:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.6.2/lib/ | ||
| 11 | +pedantic:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/pedantic-1.5.0/lib/ | ||
| 12 | +quiver:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/quiver-2.0.2/lib/ | ||
| 13 | +sky_engine:file:///D:/Develop/flutter/bin/cache/pkg/sky_engine/lib/ | ||
| 14 | +source_span:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.5.5/lib/ | ||
| 15 | +stack_trace:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib/ | ||
| 16 | +stream_channel:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.0.0/lib/ | ||
| 17 | +string_scanner:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.0.4/lib/ | ||
| 18 | +term_glyph:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.1.0/lib/ | ||
| 19 | +test_api:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.4/lib/ | ||
| 20 | +typed_data:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib/ | ||
| 21 | +vector_math:file:///D:/Develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.0.8/lib/ | ||
| 22 | flutter_screenutil:lib/ | 22 | flutter_screenutil:lib/ |
| 1 | -## [0.0.1] - first version | 1 | +## [0.0.1] - first version |
| 2 | 2 | ||
| 3 | ## [0.2.2] - Fixed bug when releasing | 3 | ## [0.2.2] - Fixed bug when releasing |
| 4 | 4 | ||
| @@ -40,4 +40,6 @@ It is recommended to use `ScreenUtil.getInstance()` instead of `ScreenUtil()` , | @@ -40,4 +40,6 @@ It is recommended to use `ScreenUtil.getInstance()` instead of `ScreenUtil()` , | ||
| 40 | 40 | ||
| 41 | setWidth,setHeight,setSp. | 41 | setWidth,setHeight,setSp. |
| 42 | for example: | 42 | for example: |
| 43 | -you can use setWidth(100) or setWidth(100.0) | ||
| 43 | +you can use setWidth(100) or setWidth(100.0) | ||
| 44 | + | ||
| 45 | +## [0.5.3] - Change the units of statusBarHeight and bottomBarHeight to dp |
| @@ -38,9 +38,9 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -38,9 +38,9 @@ class _MyHomePageState extends State<MyHomePage> { | ||
| 38 | print( | 38 | print( |
| 39 | 'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density | 39 | 'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density |
| 40 | print( | 40 | print( |
| 41 | - 'Bottom safe zone distance px:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen | 41 | + 'Bottom safe zone distance dp:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen |
| 42 | print( | 42 | print( |
| 43 | - 'Status bar height px:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px | 43 | + 'Status bar height px:${ScreenUtil.statusBarHeight}dp'); //Status bar height , Notch will be higher Unit px |
| 44 | print( | 44 | print( |
| 45 | 'Ratio of actual width dp to design draft px:${ScreenUtil.getInstance().scaleWidth}'); | 45 | 'Ratio of actual width dp to design draft px:${ScreenUtil.getInstance().scaleWidth}'); |
| 46 | print( | 46 | print( |
| @@ -88,8 +88,8 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -88,8 +88,8 @@ class _MyHomePageState extends State<MyHomePage> { | ||
| 88 | Text('Device width:${ScreenUtil.screenWidthDp}dp'), | 88 | Text('Device width:${ScreenUtil.screenWidthDp}dp'), |
| 89 | Text('Device height:${ScreenUtil.screenHeightDp}dp'), | 89 | Text('Device height:${ScreenUtil.screenHeightDp}dp'), |
| 90 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), | 90 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), |
| 91 | - Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), | ||
| 92 | - Text('Status bar height:${ScreenUtil.statusBarHeight}px'), | 91 | + Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}dp'), |
| 92 | + Text('Status bar height:${ScreenUtil.statusBarHeight}dp'), | ||
| 93 | Text( | 93 | Text( |
| 94 | 'Ratio of actual width dp to design draft px:${ScreenUtil.getInstance().scaleWidth}', | 94 | 'Ratio of actual width dp to design draft px:${ScreenUtil.getInstance().scaleWidth}', |
| 95 | textAlign: TextAlign.center, | 95 | textAlign: TextAlign.center, |
| @@ -36,9 +36,9 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -36,9 +36,9 @@ class _MyHomePageState extends State<MyHomePage> { | ||
| 36 | print('设备高度:${ScreenUtil.screenHeight}'); //Device height | 36 | print('设备高度:${ScreenUtil.screenHeight}'); //Device height |
| 37 | print('设备的像素密度:${ScreenUtil.pixelRatio}'); //Device pixel density | 37 | print('设备的像素密度:${ScreenUtil.pixelRatio}'); //Device pixel density |
| 38 | print( | 38 | print( |
| 39 | - '底部安全区距离:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen | 39 | + '底部安全区距离:${ScreenUtil.bottomBarHeight}dp'); //Bottom safe zone distance,suitable for buttons with full screen |
| 40 | print( | 40 | print( |
| 41 | - '状态栏高度:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px | 41 | + '状态栏高度:${ScreenUtil.statusBarHeight}dp'); //Status bar height , Notch will be higher Unit px |
| 42 | 42 | ||
| 43 | print('实际宽度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleWidth}'); | 43 | print('实际宽度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleWidth}'); |
| 44 | print('实际高度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleHeight}'); | 44 | print('实际高度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleHeight}'); |
| @@ -98,8 +98,8 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -98,8 +98,8 @@ class _MyHomePageState extends State<MyHomePage> { | ||
| 98 | Text('设备高度:${ScreenUtil.screenHeightDp}dp'), | 98 | Text('设备高度:${ScreenUtil.screenHeightDp}dp'), |
| 99 | Text('设计稿宽度:${ScreenUtil.getInstance().width}'), | 99 | Text('设计稿宽度:${ScreenUtil.getInstance().width}'), |
| 100 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), | 100 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), |
| 101 | - Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), | ||
| 102 | - Text('状态栏高度:${ScreenUtil.statusBarHeight}px'), | 101 | + Text('底部安全区距离:${ScreenUtil.bottomBarHeight}dp'), |
| 102 | + Text('状态栏高度:${ScreenUtil.statusBarHeight}dp'), | ||
| 103 | Text( | 103 | Text( |
| 104 | '实际宽度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleWidth}', | 104 | '实际宽度的dp与设计稿px的比例:${ScreenUtil.getInstance().scaleWidth}', |
| 105 | textAlign: TextAlign.center, | 105 | textAlign: TextAlign.center, |
| @@ -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.1.0" | 10 | version: "2.1.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.4" | 17 | version: "1.0.4" |
| 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.5.2" | 50 | + version: "0.5.3" |
| 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.6" | 69 | version: "1.1.6" |
| 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.2" | 76 | version: "1.6.2" |
| 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.5.0" | 83 | version: "1.5.0" |
| 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.2" | 90 | version: "2.0.2" |
| 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.4" | 123 | version: "1.0.4" |
| 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.4" | 137 | version: "0.2.4" |
| 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: |
| @@ -64,11 +64,11 @@ class ScreenUtil { | @@ -64,11 +64,11 @@ class ScreenUtil { | ||
| 64 | ///当前设备高度 px | 64 | ///当前设备高度 px |
| 65 | static double get screenHeight => _screenHeight * _pixelRatio; | 65 | static double get screenHeight => _screenHeight * _pixelRatio; |
| 66 | 66 | ||
| 67 | - ///状态栏高度 刘海屏会更高 | ||
| 68 | - static double get statusBarHeight => _statusBarHeight * _pixelRatio; | 67 | + ///状态栏高度 dp 刘海屏会更高 |
| 68 | + static double get statusBarHeight => _statusBarHeight; | ||
| 69 | 69 | ||
| 70 | - ///底部安全区距离 | ||
| 71 | - static double get bottomBarHeight => _bottomBarHeight * _pixelRatio; | 70 | + ///底部安全区距离 dp |
| 71 | + static double get bottomBarHeight => _bottomBarHeight; | ||
| 72 | 72 | ||
| 73 | ///实际的dp与设计稿px的比例 | 73 | ///实际的dp与设计稿px的比例 |
| 74 | get scaleWidth => _screenWidth / instance.width; | 74 | get scaleWidth => _screenWidth / instance.width; |
| @@ -5,28 +5,28 @@ packages: | @@ -5,28 +5,28 @@ 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.1.0" | 10 | version: "2.1.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.4" | 17 | version: "1.0.4" |
| 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 | flutter: | 32 | flutter: |
| @@ -43,35 +43,35 @@ packages: | @@ -43,35 +43,35 @@ packages: | ||
| 43 | dependency: transitive | 43 | dependency: transitive |
| 44 | description: | 44 | description: |
| 45 | name: matcher | 45 | name: matcher |
| 46 | - url: "https://pub.dartlang.org" | 46 | + url: "https://pub.flutter-io.cn" |
| 47 | source: hosted | 47 | source: hosted |
| 48 | version: "0.12.5" | 48 | version: "0.12.5" |
| 49 | meta: | 49 | meta: |
| 50 | dependency: transitive | 50 | dependency: transitive |
| 51 | description: | 51 | description: |
| 52 | name: meta | 52 | name: meta |
| 53 | - url: "https://pub.dartlang.org" | 53 | + url: "https://pub.flutter-io.cn" |
| 54 | source: hosted | 54 | source: hosted |
| 55 | version: "1.1.6" | 55 | version: "1.1.6" |
| 56 | path: | 56 | path: |
| 57 | dependency: transitive | 57 | dependency: transitive |
| 58 | description: | 58 | description: |
| 59 | name: path | 59 | name: path |
| 60 | - url: "https://pub.dartlang.org" | 60 | + url: "https://pub.flutter-io.cn" |
| 61 | source: hosted | 61 | source: hosted |
| 62 | version: "1.6.2" | 62 | version: "1.6.2" |
| 63 | pedantic: | 63 | pedantic: |
| 64 | dependency: transitive | 64 | dependency: transitive |
| 65 | description: | 65 | description: |
| 66 | name: pedantic | 66 | name: pedantic |
| 67 | - url: "https://pub.dartlang.org" | 67 | + url: "https://pub.flutter-io.cn" |
| 68 | source: hosted | 68 | source: hosted |
| 69 | version: "1.5.0" | 69 | version: "1.5.0" |
| 70 | quiver: | 70 | quiver: |
| 71 | dependency: transitive | 71 | dependency: transitive |
| 72 | description: | 72 | description: |
| 73 | name: quiver | 73 | name: quiver |
| 74 | - url: "https://pub.dartlang.org" | 74 | + url: "https://pub.flutter-io.cn" |
| 75 | source: hosted | 75 | source: hosted |
| 76 | version: "2.0.2" | 76 | version: "2.0.2" |
| 77 | sky_engine: | 77 | sky_engine: |
| @@ -83,56 +83,56 @@ packages: | @@ -83,56 +83,56 @@ packages: | ||
| 83 | dependency: transitive | 83 | dependency: transitive |
| 84 | description: | 84 | description: |
| 85 | name: source_span | 85 | name: source_span |
| 86 | - url: "https://pub.dartlang.org" | 86 | + url: "https://pub.flutter-io.cn" |
| 87 | source: hosted | 87 | source: hosted |
| 88 | version: "1.5.5" | 88 | version: "1.5.5" |
| 89 | stack_trace: | 89 | stack_trace: |
| 90 | dependency: transitive | 90 | dependency: transitive |
| 91 | description: | 91 | description: |
| 92 | name: stack_trace | 92 | name: stack_trace |
| 93 | - url: "https://pub.dartlang.org" | 93 | + url: "https://pub.flutter-io.cn" |
| 94 | source: hosted | 94 | source: hosted |
| 95 | version: "1.9.3" | 95 | version: "1.9.3" |
| 96 | stream_channel: | 96 | stream_channel: |
| 97 | dependency: transitive | 97 | dependency: transitive |
| 98 | description: | 98 | description: |
| 99 | name: stream_channel | 99 | name: stream_channel |
| 100 | - url: "https://pub.dartlang.org" | 100 | + url: "https://pub.flutter-io.cn" |
| 101 | source: hosted | 101 | source: hosted |
| 102 | version: "2.0.0" | 102 | version: "2.0.0" |
| 103 | string_scanner: | 103 | string_scanner: |
| 104 | dependency: transitive | 104 | dependency: transitive |
| 105 | description: | 105 | description: |
| 106 | name: string_scanner | 106 | name: string_scanner |
| 107 | - url: "https://pub.dartlang.org" | 107 | + url: "https://pub.flutter-io.cn" |
| 108 | source: hosted | 108 | source: hosted |
| 109 | version: "1.0.4" | 109 | version: "1.0.4" |
| 110 | term_glyph: | 110 | term_glyph: |
| 111 | dependency: transitive | 111 | dependency: transitive |
| 112 | description: | 112 | description: |
| 113 | name: term_glyph | 113 | name: term_glyph |
| 114 | - url: "https://pub.dartlang.org" | 114 | + url: "https://pub.flutter-io.cn" |
| 115 | source: hosted | 115 | source: hosted |
| 116 | version: "1.1.0" | 116 | version: "1.1.0" |
| 117 | test_api: | 117 | test_api: |
| 118 | dependency: transitive | 118 | dependency: transitive |
| 119 | description: | 119 | description: |
| 120 | name: test_api | 120 | name: test_api |
| 121 | - url: "https://pub.dartlang.org" | 121 | + url: "https://pub.flutter-io.cn" |
| 122 | source: hosted | 122 | source: hosted |
| 123 | version: "0.2.4" | 123 | version: "0.2.4" |
| 124 | typed_data: | 124 | typed_data: |
| 125 | dependency: transitive | 125 | dependency: transitive |
| 126 | description: | 126 | description: |
| 127 | name: typed_data | 127 | name: typed_data |
| 128 | - url: "https://pub.dartlang.org" | 128 | + url: "https://pub.flutter-io.cn" |
| 129 | source: hosted | 129 | source: hosted |
| 130 | version: "1.1.6" | 130 | version: "1.1.6" |
| 131 | vector_math: | 131 | vector_math: |
| 132 | dependency: transitive | 132 | dependency: transitive |
| 133 | description: | 133 | description: |
| 134 | name: vector_math | 134 | name: vector_math |
| 135 | - url: "https://pub.dartlang.org" | 135 | + url: "https://pub.flutter-io.cn" |
| 136 | source: hosted | 136 | source: hosted |
| 137 | version: "2.0.8" | 137 | version: "2.0.8" |
| 138 | sdks: | 138 | sdks: |
| 1 | name: flutter_screenutil | 1 | name: flutter_screenutil |
| 2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models | 2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models |
| 3 | -version: 0.5.2 | 3 | +version: 0.5.3 |
| 4 | author: LiZhuoyuan <zhuoyuan93@gmail.com> | 4 | author: LiZhuoyuan <zhuoyuan93@gmail.com> |
| 5 | homepage: https://github.com/OpenFlutter/flutter_ScreenUtil | 5 | homepage: https://github.com/OpenFlutter/flutter_ScreenUtil |
| 6 | 6 |
-
Please register or login to post a comment