李卓原

0.4.0优化字体适配方法

@@ -100,10 +100,13 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -100,10 +100,13 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
100 print( 100 print(
101 'Status bar height:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px 101 'Status bar height:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px
102 print( 102 print(
103 - 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}'); //The width is enlarged relative to the design draft 103 + 'Ratio of actual width dp to design draft px:${ScreenUtil().scaleWidth}');
104 print( 104 print(
105 - 'The ratio of height width to the size of the design:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}'); //The height is enlarged relative to the design draft  
106 - 105 + 'Ratio of actual height dp to design draft px:${ScreenUtil().scaleHeight}');
  106 + print(
  107 + 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}');
  108 + print(
  109 + 'The ratio of height width to the size of the design:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}');
107 return new Scaffold( 110 return new Scaffold(
108 appBar: new AppBar( 111 appBar: new AppBar(
109 title: new Text(widget.title), 112 title: new Text(widget.title),
@@ -142,6 +145,14 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -142,6 +145,14 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
142 Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), 145 Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'),
143 Text('Status bar height:${ScreenUtil.statusBarHeight}px'), 146 Text('Status bar height:${ScreenUtil.statusBarHeight}px'),
144 Text( 147 Text(
  148 + 'Ratio of actual width dp to design draft px:${ScreenUtil().scaleWidth}',
  149 + textAlign: TextAlign.center,
  150 + ),
  151 + Text(
  152 + 'Ratio of actual height dp to design draft px:${ScreenUtil().scaleHeight}',
  153 + textAlign: TextAlign.center,
  154 + ),
  155 + Text(
145 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}', 156 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}',
146 textAlign: TextAlign.center, 157 textAlign: TextAlign.center,
147 ), 158 ),
@@ -150,7 +161,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -150,7 +161,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
150 textAlign: TextAlign.center, 161 textAlign: TextAlign.center,
151 ), 162 ),
152 SizedBox( 163 SizedBox(
153 - height: ScreenUtil().setHeight(200), 164 + height: ScreenUtil().setHeight(100),
154 ), 165 ),
155 Text('System font scaling factor:${ScreenUtil.textScaleFactory}'), 166 Text('System font scaling factor:${ScreenUtil.textScaleFactory}'),
156 Column( 167 Column(
@@ -99,10 +99,14 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -99,10 +99,14 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
99 '底部安全区距离:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen 99 '底部安全区距离:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen
100 print( 100 print(
101 '状态栏高度:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px 101 '状态栏高度:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px
  102 +
  103 + print('实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth}');
  104 + print('实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}');
  105 +
102 print( 106 print(
103 - '实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}'); //The width is enlarged relative to the design draft 107 + '宽度和字体相对于设计稿放大的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}');
104 print( 108 print(
105 - '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}'); //The height is enlarged relative to the design draft 109 + '高度相对于设计稿放大的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}');
106 print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'); 110 print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}');
107 111
108 return new Scaffold( 112 return new Scaffold(
@@ -123,7 +127,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -123,7 +127,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
123 '我的宽度:${ScreenUtil().setWidth(375)}dp', 127 '我的宽度:${ScreenUtil().setWidth(375)}dp',
124 style: TextStyle( 128 style: TextStyle(
125 color: Colors.white, 129 color: Colors.white,
126 - fontSize: ScreenUtil().setSp(28, false)), 130 + fontSize: ScreenUtil().setSp(12, false),
  131 + ),
127 ), 132 ),
128 ), 133 ),
129 Container( 134 Container(
@@ -133,7 +138,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -133,7 +138,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
133 child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp', 138 child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp',
134 style: TextStyle( 139 style: TextStyle(
135 color: Colors.white, 140 color: Colors.white,
136 - fontSize: ScreenUtil().setSp(28, false))), 141 + fontSize: ScreenUtil().setSp(12, false),
  142 + )),
137 ), 143 ),
138 ], 144 ],
139 ), 145 ),
@@ -143,25 +149,33 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -143,25 +149,33 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
143 Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), 149 Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'),
144 Text('状态栏高度:${ScreenUtil.statusBarHeight}px'), 150 Text('状态栏高度:${ScreenUtil.statusBarHeight}px'),
145 Text( 151 Text(
146 - '实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}', 152 + '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}',
  153 + textAlign: TextAlign.center,
  154 + ),
  155 + Text(
  156 + '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}',
147 textAlign: TextAlign.center, 157 textAlign: TextAlign.center,
148 ), 158 ),
149 Text( 159 Text(
150 - '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}', 160 + '宽度和字体相对于设计稿放大的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}',
  161 + textAlign: TextAlign.center,
  162 + ),
  163 + Text(
  164 + '高度相对于设计稿放大的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}',
151 textAlign: TextAlign.center, 165 textAlign: TextAlign.center,
152 ), 166 ),
153 SizedBox( 167 SizedBox(
154 - height: ScreenUtil().setHeight(200), 168 + height: ScreenUtil().setHeight(100),
155 ), 169 ),
156 Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'), 170 Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'),
157 Column( 171 Column(
158 crossAxisAlignment: CrossAxisAlignment.start, 172 crossAxisAlignment: CrossAxisAlignment.start,
159 children: <Widget>[ 173 children: <Widget>[
160 - Text('我的文字大小是14px,不会随着系统的文字大小变化', 174 + Text('我的文字大小在设计稿上是14px,不会随着系统的文字大小变化',
161 style: TextStyle( 175 style: TextStyle(
162 color: Colors.black, 176 color: Colors.black,
163 fontSize: ScreenUtil().setSp(14, false))), 177 fontSize: ScreenUtil().setSp(14, false))),
164 - Text('我的文字大小是14px,会随着系统的文字大小变化', 178 + Text('我的文字大小在设计稿上是14px,会随着系统的文字大小变化',
165 style: TextStyle( 179 style: TextStyle(
166 color: Colors.black, fontSize: ScreenUtil().setSp(14))), 180 color: Colors.black, fontSize: ScreenUtil().setSp(14))),
167 ], 181 ],

117 KB | W: | H:

163 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

145 KB | W: | H:

157 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -41,9 +41,13 @@ class _MyHomePageState extends State<MyHomePage> { @@ -41,9 +41,13 @@ class _MyHomePageState extends State<MyHomePage> {
41 print( 41 print(
42 'Status bar height:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px 42 'Status bar height:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px
43 print( 43 print(
44 - 'Ratio of actual width dp to design draft px:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}'); //The width is enlarged relative to the design draft 44 + 'Ratio of actual width dp to design draft px:${ScreenUtil().scaleWidth}');
45 print( 45 print(
46 - 'Ratio of actual height dp to design draft px:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}'); //The height is enlarged relative to the design draft 46 + 'Ratio of actual height dp to design draft px:${ScreenUtil().scaleHeight}');
  47 + print(
  48 + 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}');
  49 + print(
  50 + 'The ratio of height width to the size of the design:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}');
47 return new Scaffold( 51 return new Scaffold(
48 appBar: new AppBar( 52 appBar: new AppBar(
49 title: new Text(widget.title), 53 title: new Text(widget.title),
@@ -82,6 +86,14 @@ class _MyHomePageState extends State<MyHomePage> { @@ -82,6 +86,14 @@ class _MyHomePageState extends State<MyHomePage> {
82 Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), 86 Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'),
83 Text('Status bar height:${ScreenUtil.statusBarHeight}px'), 87 Text('Status bar height:${ScreenUtil.statusBarHeight}px'),
84 Text( 88 Text(
  89 + 'Ratio of actual width dp to design draft px:${ScreenUtil().scaleWidth}',
  90 + textAlign: TextAlign.center,
  91 + ),
  92 + Text(
  93 + 'Ratio of actual height dp to design draft px:${ScreenUtil().scaleHeight}',
  94 + textAlign: TextAlign.center,
  95 + ),
  96 + Text(
85 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}', 97 'The ratio of font and width to the size of the design:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}',
86 textAlign: TextAlign.center, 98 textAlign: TextAlign.center,
87 ), 99 ),
@@ -90,7 +102,7 @@ class _MyHomePageState extends State<MyHomePage> { @@ -90,7 +102,7 @@ class _MyHomePageState extends State<MyHomePage> {
90 textAlign: TextAlign.center, 102 textAlign: TextAlign.center,
91 ), 103 ),
92 SizedBox( 104 SizedBox(
93 - height: ScreenUtil().setHeight(200), 105 + height: ScreenUtil().setHeight(100),
94 ), 106 ),
95 Text('System font scaling factor:${ScreenUtil.textScaleFactory}'), 107 Text('System font scaling factor:${ScreenUtil.textScaleFactory}'),
96 Column( 108 Column(
@@ -39,10 +39,14 @@ class _MyHomePageState extends State<MyHomePage> { @@ -39,10 +39,14 @@ class _MyHomePageState extends State<MyHomePage> {
39 '底部安全区距离:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen 39 '底部安全区距离:${ScreenUtil.bottomBarHeight}'); //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}px'); //Status bar height , Notch will be higher Unit px
  42 +
  43 + print('实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth}');
  44 + print('实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}');
  45 +
42 print( 46 print(
43 - '实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}'); //The width is enlarged relative to the design draft 47 + '宽度和字体相对于设计稿放大的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}');
44 print( 48 print(
45 - '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}'); //The height is enlarged relative to the design draft 49 + '高度相对于设计稿放大的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}');
46 print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'); 50 print('系统的字体缩放比例:${ScreenUtil.textScaleFactory}');
47 51
48 return new Scaffold( 52 return new Scaffold(
@@ -63,7 +67,8 @@ class _MyHomePageState extends State<MyHomePage> { @@ -63,7 +67,8 @@ class _MyHomePageState extends State<MyHomePage> {
63 '我的宽度:${ScreenUtil().setWidth(375)}dp', 67 '我的宽度:${ScreenUtil().setWidth(375)}dp',
64 style: TextStyle( 68 style: TextStyle(
65 color: Colors.white, 69 color: Colors.white,
66 - fontSize: ScreenUtil().setSp(28, false)), 70 + fontSize: ScreenUtil().setSp(12, false),
  71 + ),
67 ), 72 ),
68 ), 73 ),
69 Container( 74 Container(
@@ -73,7 +78,8 @@ class _MyHomePageState extends State<MyHomePage> { @@ -73,7 +78,8 @@ class _MyHomePageState extends State<MyHomePage> {
73 child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp', 78 child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp',
74 style: TextStyle( 79 style: TextStyle(
75 color: Colors.white, 80 color: Colors.white,
76 - fontSize: ScreenUtil().setSp(28, false))), 81 + fontSize: ScreenUtil().setSp(12, false),
  82 + )),
77 ), 83 ),
78 ], 84 ],
79 ), 85 ),
@@ -83,25 +89,33 @@ class _MyHomePageState extends State<MyHomePage> { @@ -83,25 +89,33 @@ class _MyHomePageState extends State<MyHomePage> {
83 Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), 89 Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'),
84 Text('状态栏高度:${ScreenUtil.statusBarHeight}px'), 90 Text('状态栏高度:${ScreenUtil.statusBarHeight}px'),
85 Text( 91 Text(
86 - '实际宽度的dp与设计稿px的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}', 92 + '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}',
  93 + textAlign: TextAlign.center,
  94 + ),
  95 + Text(
  96 + '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight}',
87 textAlign: TextAlign.center, 97 textAlign: TextAlign.center,
88 ), 98 ),
89 Text( 99 Text(
90 - '实际高度的dp与设计稿px的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}', 100 + '宽度和字体相对于设计稿放大的比例:${ScreenUtil().scaleWidth * ScreenUtil.pixelRatio}',
  101 + textAlign: TextAlign.center,
  102 + ),
  103 + Text(
  104 + '高度相对于设计稿放大的比例:${ScreenUtil().scaleHeight * ScreenUtil.pixelRatio}',
91 textAlign: TextAlign.center, 105 textAlign: TextAlign.center,
92 ), 106 ),
93 SizedBox( 107 SizedBox(
94 - height: ScreenUtil().setHeight(200), 108 + height: ScreenUtil().setHeight(100),
95 ), 109 ),
96 Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'), 110 Text('系统的字体缩放比例:${ScreenUtil.textScaleFactory}'),
97 Column( 111 Column(
98 crossAxisAlignment: CrossAxisAlignment.start, 112 crossAxisAlignment: CrossAxisAlignment.start,
99 children: <Widget>[ 113 children: <Widget>[
100 - Text('我的文字大小是14px,不会随着系统的文字大小变化', 114 + Text('我的文字大小在设计稿上是14px,不会随着系统的文字大小变化',
101 style: TextStyle( 115 style: TextStyle(
102 color: Colors.black, 116 color: Colors.black,
103 fontSize: ScreenUtil().setSp(14, false))), 117 fontSize: ScreenUtil().setSp(14, false))),
104 - Text('我的文字大小是14px,会随着系统的文字大小变化', 118 + Text('我的文字大小在设计稿上是14px,会随着系统的文字大小变化',
105 style: TextStyle( 119 style: TextStyle(
106 color: Colors.black, fontSize: ScreenUtil().setSp(14))), 120 color: Colors.black, fontSize: ScreenUtil().setSp(14))),
107 ], 121 ],
@@ -5,70 +5,70 @@ packages: @@ -5,70 +5,70 @@ packages:
5 dependency: transitive 5 dependency: transitive
6 description: 6 description:
7 name: analyzer 7 name: analyzer
8 - url: "https://pub.flutter-io.cn" 8 + url: "https://pub.dartlang.org"
9 source: hosted 9 source: hosted
10 version: "0.32.4" 10 version: "0.32.4"
11 args: 11 args:
12 dependency: transitive 12 dependency: transitive
13 description: 13 description:
14 name: args 14 name: args
15 - url: "https://pub.flutter-io.cn" 15 + url: "https://pub.dartlang.org"
16 source: hosted 16 source: hosted
17 version: "1.5.0" 17 version: "1.5.0"
18 async: 18 async:
19 dependency: transitive 19 dependency: transitive
20 description: 20 description:
21 name: async 21 name: async
22 - url: "https://pub.flutter-io.cn" 22 + url: "https://pub.dartlang.org"
23 source: hosted 23 source: hosted
24 version: "2.0.8" 24 version: "2.0.8"
25 boolean_selector: 25 boolean_selector:
26 dependency: transitive 26 dependency: transitive
27 description: 27 description:
28 name: boolean_selector 28 name: boolean_selector
29 - url: "https://pub.flutter-io.cn" 29 + url: "https://pub.dartlang.org"
30 source: hosted 30 source: hosted
31 version: "1.0.4" 31 version: "1.0.4"
32 charcode: 32 charcode:
33 dependency: transitive 33 dependency: transitive
34 description: 34 description:
35 name: charcode 35 name: charcode
36 - url: "https://pub.flutter-io.cn" 36 + url: "https://pub.dartlang.org"
37 source: hosted 37 source: hosted
38 version: "1.1.2" 38 version: "1.1.2"
39 collection: 39 collection:
40 dependency: transitive 40 dependency: transitive
41 description: 41 description:
42 name: collection 42 name: collection
43 - url: "https://pub.flutter-io.cn" 43 + url: "https://pub.dartlang.org"
44 source: hosted 44 source: hosted
45 version: "1.14.11" 45 version: "1.14.11"
46 convert: 46 convert:
47 dependency: transitive 47 dependency: transitive
48 description: 48 description:
49 name: convert 49 name: convert
50 - url: "https://pub.flutter-io.cn" 50 + url: "https://pub.dartlang.org"
51 source: hosted 51 source: hosted
52 version: "2.0.2" 52 version: "2.0.2"
53 crypto: 53 crypto:
54 dependency: transitive 54 dependency: transitive
55 description: 55 description:
56 name: crypto 56 name: crypto
57 - url: "https://pub.flutter-io.cn" 57 + url: "https://pub.dartlang.org"
58 source: hosted 58 source: hosted
59 version: "2.0.6" 59 version: "2.0.6"
60 csslib: 60 csslib:
61 dependency: transitive 61 dependency: transitive
62 description: 62 description:
63 name: csslib 63 name: csslib
64 - url: "https://pub.flutter-io.cn" 64 + url: "https://pub.dartlang.org"
65 source: hosted 65 source: hosted
66 version: "0.14.5" 66 version: "0.14.5"
67 cupertino_icons: 67 cupertino_icons:
68 dependency: "direct main" 68 dependency: "direct main"
69 description: 69 description:
70 name: cupertino_icons 70 name: cupertino_icons
71 - url: "https://pub.flutter-io.cn" 71 + url: "https://pub.dartlang.org"
72 source: hosted 72 source: hosted
73 version: "0.1.2" 73 version: "0.1.2"
74 flutter: 74 flutter:
@@ -82,7 +82,7 @@ packages: @@ -82,7 +82,7 @@ packages:
82 path: ".." 82 path: ".."
83 relative: true 83 relative: true
84 source: path 84 source: path
85 - version: "0.3.0" 85 + version: "0.4.0"
86 flutter_test: 86 flutter_test:
87 dependency: "direct dev" 87 dependency: "direct dev"
88 description: flutter 88 description: flutter
@@ -92,189 +92,189 @@ packages: @@ -92,189 +92,189 @@ packages:
92 dependency: transitive 92 dependency: transitive
93 description: 93 description:
94 name: front_end 94 name: front_end
95 - url: "https://pub.flutter-io.cn" 95 + url: "https://pub.dartlang.org"
96 source: hosted 96 source: hosted
97 version: "0.1.4" 97 version: "0.1.4"
98 glob: 98 glob:
99 dependency: transitive 99 dependency: transitive
100 description: 100 description:
101 name: glob 101 name: glob
102 - url: "https://pub.flutter-io.cn" 102 + url: "https://pub.dartlang.org"
103 source: hosted 103 source: hosted
104 version: "1.1.7" 104 version: "1.1.7"
105 html: 105 html:
106 dependency: transitive 106 dependency: transitive
107 description: 107 description:
108 name: html 108 name: html
109 - url: "https://pub.flutter-io.cn" 109 + url: "https://pub.dartlang.org"
110 source: hosted 110 source: hosted
111 version: "0.13.3+3" 111 version: "0.13.3+3"
112 http: 112 http:
113 dependency: transitive 113 dependency: transitive
114 description: 114 description:
115 name: http 115 name: http
116 - url: "https://pub.flutter-io.cn" 116 + url: "https://pub.dartlang.org"
117 source: hosted 117 source: hosted
118 version: "0.11.3+17" 118 version: "0.11.3+17"
119 http_multi_server: 119 http_multi_server:
120 dependency: transitive 120 dependency: transitive
121 description: 121 description:
122 name: http_multi_server 122 name: http_multi_server
123 - url: "https://pub.flutter-io.cn" 123 + url: "https://pub.dartlang.org"
124 source: hosted 124 source: hosted
125 version: "2.0.5" 125 version: "2.0.5"
126 http_parser: 126 http_parser:
127 dependency: transitive 127 dependency: transitive
128 description: 128 description:
129 name: http_parser 129 name: http_parser
130 - url: "https://pub.flutter-io.cn" 130 + url: "https://pub.dartlang.org"
131 source: hosted 131 source: hosted
132 version: "3.1.3" 132 version: "3.1.3"
133 io: 133 io:
134 dependency: transitive 134 dependency: transitive
135 description: 135 description:
136 name: io 136 name: io
137 - url: "https://pub.flutter-io.cn" 137 + url: "https://pub.dartlang.org"
138 source: hosted 138 source: hosted
139 version: "0.3.3" 139 version: "0.3.3"
140 js: 140 js:
141 dependency: transitive 141 dependency: transitive
142 description: 142 description:
143 name: js 143 name: js
144 - url: "https://pub.flutter-io.cn" 144 + url: "https://pub.dartlang.org"
145 source: hosted 145 source: hosted
146 version: "0.6.1+1" 146 version: "0.6.1+1"
147 json_rpc_2: 147 json_rpc_2:
148 dependency: transitive 148 dependency: transitive
149 description: 149 description:
150 name: json_rpc_2 150 name: json_rpc_2
151 - url: "https://pub.flutter-io.cn" 151 + url: "https://pub.dartlang.org"
152 source: hosted 152 source: hosted
153 version: "2.0.9" 153 version: "2.0.9"
154 kernel: 154 kernel:
155 dependency: transitive 155 dependency: transitive
156 description: 156 description:
157 name: kernel 157 name: kernel
158 - url: "https://pub.flutter-io.cn" 158 + url: "https://pub.dartlang.org"
159 source: hosted 159 source: hosted
160 version: "0.3.4" 160 version: "0.3.4"
161 logging: 161 logging:
162 dependency: transitive 162 dependency: transitive
163 description: 163 description:
164 name: logging 164 name: logging
165 - url: "https://pub.flutter-io.cn" 165 + url: "https://pub.dartlang.org"
166 source: hosted 166 source: hosted
167 version: "0.11.3+2" 167 version: "0.11.3+2"
168 matcher: 168 matcher:
169 dependency: transitive 169 dependency: transitive
170 description: 170 description:
171 name: matcher 171 name: matcher
172 - url: "https://pub.flutter-io.cn" 172 + url: "https://pub.dartlang.org"
173 source: hosted 173 source: hosted
174 version: "0.12.3+1" 174 version: "0.12.3+1"
175 meta: 175 meta:
176 dependency: transitive 176 dependency: transitive
177 description: 177 description:
178 name: meta 178 name: meta
179 - url: "https://pub.flutter-io.cn" 179 + url: "https://pub.dartlang.org"
180 source: hosted 180 source: hosted
181 version: "1.1.6" 181 version: "1.1.6"
182 mime: 182 mime:
183 dependency: transitive 183 dependency: transitive
184 description: 184 description:
185 name: mime 185 name: mime
186 - url: "https://pub.flutter-io.cn" 186 + url: "https://pub.dartlang.org"
187 source: hosted 187 source: hosted
188 version: "0.9.6+2" 188 version: "0.9.6+2"
189 multi_server_socket: 189 multi_server_socket:
190 dependency: transitive 190 dependency: transitive
191 description: 191 description:
192 name: multi_server_socket 192 name: multi_server_socket
193 - url: "https://pub.flutter-io.cn" 193 + url: "https://pub.dartlang.org"
194 source: hosted 194 source: hosted
195 version: "1.0.2" 195 version: "1.0.2"
196 node_preamble: 196 node_preamble:
197 dependency: transitive 197 dependency: transitive
198 description: 198 description:
199 name: node_preamble 199 name: node_preamble
200 - url: "https://pub.flutter-io.cn" 200 + url: "https://pub.dartlang.org"
201 source: hosted 201 source: hosted
202 version: "1.4.4" 202 version: "1.4.4"
203 package_config: 203 package_config:
204 dependency: transitive 204 dependency: transitive
205 description: 205 description:
206 name: package_config 206 name: package_config
207 - url: "https://pub.flutter-io.cn" 207 + url: "https://pub.dartlang.org"
208 source: hosted 208 source: hosted
209 version: "1.0.5" 209 version: "1.0.5"
210 package_resolver: 210 package_resolver:
211 dependency: transitive 211 dependency: transitive
212 description: 212 description:
213 name: package_resolver 213 name: package_resolver
214 - url: "https://pub.flutter-io.cn" 214 + url: "https://pub.dartlang.org"
215 source: hosted 215 source: hosted
216 version: "1.0.4" 216 version: "1.0.4"
217 path: 217 path:
218 dependency: transitive 218 dependency: transitive
219 description: 219 description:
220 name: path 220 name: path
221 - url: "https://pub.flutter-io.cn" 221 + url: "https://pub.dartlang.org"
222 source: hosted 222 source: hosted
223 version: "1.6.2" 223 version: "1.6.2"
224 plugin: 224 plugin:
225 dependency: transitive 225 dependency: transitive
226 description: 226 description:
227 name: plugin 227 name: plugin
228 - url: "https://pub.flutter-io.cn" 228 + url: "https://pub.dartlang.org"
229 source: hosted 229 source: hosted
230 version: "0.2.0+3" 230 version: "0.2.0+3"
231 pool: 231 pool:
232 dependency: transitive 232 dependency: transitive
233 description: 233 description:
234 name: pool 234 name: pool
235 - url: "https://pub.flutter-io.cn" 235 + url: "https://pub.dartlang.org"
236 source: hosted 236 source: hosted
237 version: "1.3.6" 237 version: "1.3.6"
238 pub_semver: 238 pub_semver:
239 dependency: transitive 239 dependency: transitive
240 description: 240 description:
241 name: pub_semver 241 name: pub_semver
242 - url: "https://pub.flutter-io.cn" 242 + url: "https://pub.dartlang.org"
243 source: hosted 243 source: hosted
244 version: "1.4.2" 244 version: "1.4.2"
245 quiver: 245 quiver:
246 dependency: transitive 246 dependency: transitive
247 description: 247 description:
248 name: quiver 248 name: quiver
249 - url: "https://pub.flutter-io.cn" 249 + url: "https://pub.dartlang.org"
250 source: hosted 250 source: hosted
251 version: "2.0.0+1" 251 version: "2.0.0+1"
252 shelf: 252 shelf:
253 dependency: transitive 253 dependency: transitive
254 description: 254 description:
255 name: shelf 255 name: shelf
256 - url: "https://pub.flutter-io.cn" 256 + url: "https://pub.dartlang.org"
257 source: hosted 257 source: hosted
258 version: "0.7.3+3" 258 version: "0.7.3+3"
259 shelf_packages_handler: 259 shelf_packages_handler:
260 dependency: transitive 260 dependency: transitive
261 description: 261 description:
262 name: shelf_packages_handler 262 name: shelf_packages_handler
263 - url: "https://pub.flutter-io.cn" 263 + url: "https://pub.dartlang.org"
264 source: hosted 264 source: hosted
265 version: "1.0.4" 265 version: "1.0.4"
266 shelf_static: 266 shelf_static:
267 dependency: transitive 267 dependency: transitive
268 description: 268 description:
269 name: shelf_static 269 name: shelf_static
270 - url: "https://pub.flutter-io.cn" 270 + url: "https://pub.dartlang.org"
271 source: hosted 271 source: hosted
272 version: "0.2.8" 272 version: "0.2.8"
273 shelf_web_socket: 273 shelf_web_socket:
274 dependency: transitive 274 dependency: transitive
275 description: 275 description:
276 name: shelf_web_socket 276 name: shelf_web_socket
277 - url: "https://pub.flutter-io.cn" 277 + url: "https://pub.dartlang.org"
278 source: hosted 278 source: hosted
279 version: "0.2.2+4" 279 version: "0.2.2+4"
280 sky_engine: 280 sky_engine:
@@ -286,105 +286,105 @@ packages: @@ -286,105 +286,105 @@ packages:
286 dependency: transitive 286 dependency: transitive
287 description: 287 description:
288 name: source_map_stack_trace 288 name: source_map_stack_trace
289 - url: "https://pub.flutter-io.cn" 289 + url: "https://pub.dartlang.org"
290 source: hosted 290 source: hosted
291 version: "1.1.5" 291 version: "1.1.5"
292 source_maps: 292 source_maps:
293 dependency: transitive 293 dependency: transitive
294 description: 294 description:
295 name: source_maps 295 name: source_maps
296 - url: "https://pub.flutter-io.cn" 296 + url: "https://pub.dartlang.org"
297 source: hosted 297 source: hosted
298 version: "0.10.7" 298 version: "0.10.7"
299 source_span: 299 source_span:
300 dependency: transitive 300 dependency: transitive
301 description: 301 description:
302 name: source_span 302 name: source_span
303 - url: "https://pub.flutter-io.cn" 303 + url: "https://pub.dartlang.org"
304 source: hosted 304 source: hosted
305 version: "1.4.1" 305 version: "1.4.1"
306 stack_trace: 306 stack_trace:
307 dependency: transitive 307 dependency: transitive
308 description: 308 description:
309 name: stack_trace 309 name: stack_trace
310 - url: "https://pub.flutter-io.cn" 310 + url: "https://pub.dartlang.org"
311 source: hosted 311 source: hosted
312 version: "1.9.3" 312 version: "1.9.3"
313 stream_channel: 313 stream_channel:
314 dependency: transitive 314 dependency: transitive
315 description: 315 description:
316 name: stream_channel 316 name: stream_channel
317 - url: "https://pub.flutter-io.cn" 317 + url: "https://pub.dartlang.org"
318 source: hosted 318 source: hosted
319 version: "1.6.8" 319 version: "1.6.8"
320 string_scanner: 320 string_scanner:
321 dependency: transitive 321 dependency: transitive
322 description: 322 description:
323 name: string_scanner 323 name: string_scanner
324 - url: "https://pub.flutter-io.cn" 324 + url: "https://pub.dartlang.org"
325 source: hosted 325 source: hosted
326 version: "1.0.4" 326 version: "1.0.4"
327 term_glyph: 327 term_glyph:
328 dependency: transitive 328 dependency: transitive
329 description: 329 description:
330 name: term_glyph 330 name: term_glyph
331 - url: "https://pub.flutter-io.cn" 331 + url: "https://pub.dartlang.org"
332 source: hosted 332 source: hosted
333 version: "1.0.1" 333 version: "1.0.1"
334 test: 334 test:
335 dependency: transitive 335 dependency: transitive
336 description: 336 description:
337 name: test 337 name: test
338 - url: "https://pub.flutter-io.cn" 338 + url: "https://pub.dartlang.org"
339 source: hosted 339 source: hosted
340 version: "1.3.0" 340 version: "1.3.0"
341 typed_data: 341 typed_data:
342 dependency: transitive 342 dependency: transitive
343 description: 343 description:
344 name: typed_data 344 name: typed_data
345 - url: "https://pub.flutter-io.cn" 345 + url: "https://pub.dartlang.org"
346 source: hosted 346 source: hosted
347 version: "1.1.6" 347 version: "1.1.6"
348 utf: 348 utf:
349 dependency: transitive 349 dependency: transitive
350 description: 350 description:
351 name: utf 351 name: utf
352 - url: "https://pub.flutter-io.cn" 352 + url: "https://pub.dartlang.org"
353 source: hosted 353 source: hosted
354 version: "0.9.0+5" 354 version: "0.9.0+5"
355 vector_math: 355 vector_math:
356 dependency: transitive 356 dependency: transitive
357 description: 357 description:
358 name: vector_math 358 name: vector_math
359 - url: "https://pub.flutter-io.cn" 359 + url: "https://pub.dartlang.org"
360 source: hosted 360 source: hosted
361 version: "2.0.8" 361 version: "2.0.8"
362 vm_service_client: 362 vm_service_client:
363 dependency: transitive 363 dependency: transitive
364 description: 364 description:
365 name: vm_service_client 365 name: vm_service_client
366 - url: "https://pub.flutter-io.cn" 366 + url: "https://pub.dartlang.org"
367 source: hosted 367 source: hosted
368 version: "0.2.6" 368 version: "0.2.6"
369 watcher: 369 watcher:
370 dependency: transitive 370 dependency: transitive
371 description: 371 description:
372 name: watcher 372 name: watcher
373 - url: "https://pub.flutter-io.cn" 373 + url: "https://pub.dartlang.org"
374 source: hosted 374 source: hosted
375 version: "0.9.7+10" 375 version: "0.9.7+10"
376 web_socket_channel: 376 web_socket_channel:
377 dependency: transitive 377 dependency: transitive
378 description: 378 description:
379 name: web_socket_channel 379 name: web_socket_channel
380 - url: "https://pub.flutter-io.cn" 380 + url: "https://pub.dartlang.org"
381 source: hosted 381 source: hosted
382 version: "1.0.9" 382 version: "1.0.9"
383 yaml: 383 yaml:
384 dependency: transitive 384 dependency: transitive
385 description: 385 description:
386 name: yaml 386 name: yaml
387 - url: "https://pub.flutter-io.cn" 387 + url: "https://pub.dartlang.org"
388 source: hosted 388 source: hosted
389 version: "2.1.15" 389 version: "2.1.15"
390 sdks: 390 sdks: