Showing
9 changed files
with
560 additions
and
650 deletions
1 | <component name="libraryTable"> | 1 | <component name="libraryTable"> |
2 | - <library name="Dart Packages" type="DartPackagesLibraryType"> | ||
3 | - <properties> | ||
4 | - <option name="packageNameToDirsMap"> | ||
5 | - <entry key="analyzer"> | ||
6 | - <value> | ||
7 | - <list> | ||
8 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/analyzer-0.32.4/lib" /> | ||
9 | - </list> | ||
10 | - </value> | ||
11 | - </entry> | ||
12 | - <entry key="args"> | ||
13 | - <value> | ||
14 | - <list> | ||
15 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/args-1.5.0/lib" /> | ||
16 | - </list> | ||
17 | - </value> | ||
18 | - </entry> | ||
19 | - <entry key="async"> | ||
20 | - <value> | ||
21 | - <list> | ||
22 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/async-2.0.8/lib" /> | ||
23 | - </list> | ||
24 | - </value> | ||
25 | - </entry> | ||
26 | - <entry key="boolean_selector"> | ||
27 | - <value> | ||
28 | - <list> | ||
29 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib" /> | ||
30 | - </list> | ||
31 | - </value> | ||
32 | - </entry> | ||
33 | - <entry key="charcode"> | ||
34 | - <value> | ||
35 | - <list> | ||
36 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib" /> | ||
37 | - </list> | ||
38 | - </value> | ||
39 | - </entry> | ||
40 | - <entry key="collection"> | ||
41 | - <value> | ||
42 | - <list> | ||
43 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib" /> | ||
44 | - </list> | ||
45 | - </value> | ||
46 | - </entry> | ||
47 | - <entry key="common_utils"> | ||
48 | - <value> | ||
49 | - <list> | ||
50 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib" /> | ||
51 | - </list> | ||
52 | - </value> | ||
53 | - </entry> | ||
54 | - <entry key="convert"> | ||
55 | - <value> | ||
56 | - <list> | ||
57 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/convert-2.0.2/lib" /> | ||
58 | - </list> | ||
59 | - </value> | ||
60 | - </entry> | ||
61 | - <entry key="crypto"> | ||
62 | - <value> | ||
63 | - <list> | ||
64 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/crypto-2.0.6/lib" /> | ||
65 | - </list> | ||
66 | - </value> | ||
67 | - </entry> | ||
68 | - <entry key="csslib"> | ||
69 | - <value> | ||
70 | - <list> | ||
71 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/csslib-0.14.5/lib" /> | ||
72 | - </list> | ||
73 | - </value> | ||
74 | - </entry> | ||
75 | - <entry key="cupertino_icons"> | ||
76 | - <value> | ||
77 | - <list> | ||
78 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.2/lib" /> | ||
79 | - </list> | ||
80 | - </value> | ||
81 | - </entry> | ||
82 | - <entry key="flutter"> | ||
83 | - <value> | ||
84 | - <list> | ||
85 | - <option value="D:/flutter/packages/flutter/lib" /> | ||
86 | - </list> | ||
87 | - </value> | ||
88 | - </entry> | ||
89 | - <entry key="flutter_screenutil"> | ||
90 | - <value> | ||
91 | - <list> | ||
92 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib" /> | ||
93 | - </list> | ||
94 | - </value> | ||
95 | - </entry> | ||
96 | - <entry key="flutter_test"> | ||
97 | - <value> | ||
98 | - <list> | ||
99 | - <option value="D:/flutter/packages/flutter_test/lib" /> | ||
100 | - </list> | ||
101 | - </value> | ||
102 | - </entry> | ||
103 | - <entry key="front_end"> | ||
104 | - <value> | ||
105 | - <list> | ||
106 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/front_end-0.1.4/lib" /> | ||
107 | - </list> | ||
108 | - </value> | ||
109 | - </entry> | ||
110 | - <entry key="glob"> | ||
111 | - <value> | ||
112 | - <list> | ||
113 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/glob-1.1.7/lib" /> | ||
114 | - </list> | ||
115 | - </value> | ||
116 | - </entry> | ||
117 | - <entry key="html"> | ||
118 | - <value> | ||
119 | - <list> | ||
120 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/html-0.13.3+3/lib" /> | ||
121 | - </list> | ||
122 | - </value> | ||
123 | - </entry> | ||
124 | - <entry key="http"> | ||
125 | - <value> | ||
126 | - <list> | ||
127 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/http-0.11.3+17/lib" /> | ||
128 | - </list> | ||
129 | - </value> | ||
130 | - </entry> | ||
131 | - <entry key="http_multi_server"> | ||
132 | - <value> | ||
133 | - <list> | ||
134 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/http_multi_server-2.0.5/lib" /> | ||
135 | - </list> | ||
136 | - </value> | ||
137 | - </entry> | ||
138 | - <entry key="http_parser"> | ||
139 | - <value> | ||
140 | - <list> | ||
141 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/http_parser-3.1.3/lib" /> | ||
142 | - </list> | ||
143 | - </value> | ||
144 | - </entry> | ||
145 | - <entry key="io"> | ||
146 | - <value> | ||
147 | - <list> | ||
148 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/io-0.3.3/lib" /> | ||
149 | - </list> | ||
150 | - </value> | ||
151 | - </entry> | ||
152 | - <entry key="js"> | ||
153 | - <value> | ||
154 | - <list> | ||
155 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/js-0.6.1+1/lib" /> | ||
156 | - </list> | ||
157 | - </value> | ||
158 | - </entry> | ||
159 | - <entry key="json_rpc_2"> | ||
160 | - <value> | ||
161 | - <list> | ||
162 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/json_rpc_2-2.0.9/lib" /> | ||
163 | - </list> | ||
164 | - </value> | ||
165 | - </entry> | ||
166 | - <entry key="kernel"> | ||
167 | - <value> | ||
168 | - <list> | ||
169 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/kernel-0.3.4/lib" /> | ||
170 | - </list> | ||
171 | - </value> | ||
172 | - </entry> | ||
173 | - <entry key="logging"> | ||
174 | - <value> | ||
175 | - <list> | ||
176 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/logging-0.11.3+2/lib" /> | ||
177 | - </list> | ||
178 | - </value> | ||
179 | - </entry> | ||
180 | - <entry key="matcher"> | ||
181 | - <value> | ||
182 | - <list> | ||
183 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/matcher-0.12.3+1/lib" /> | ||
184 | - </list> | ||
185 | - </value> | ||
186 | - </entry> | ||
187 | - <entry key="meta"> | ||
188 | - <value> | ||
189 | - <list> | ||
190 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/meta-1.1.6/lib" /> | ||
191 | - </list> | ||
192 | - </value> | ||
193 | - </entry> | ||
194 | - <entry key="mime"> | ||
195 | - <value> | ||
196 | - <list> | ||
197 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/mime-0.9.6+2/lib" /> | ||
198 | - </list> | ||
199 | - </value> | ||
200 | - </entry> | ||
201 | - <entry key="multi_server_socket"> | ||
202 | - <value> | ||
203 | - <list> | ||
204 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/multi_server_socket-1.0.2/lib" /> | ||
205 | - </list> | ||
206 | - </value> | ||
207 | - </entry> | ||
208 | - <entry key="node_preamble"> | ||
209 | - <value> | ||
210 | - <list> | ||
211 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/node_preamble-1.4.4/lib" /> | ||
212 | - </list> | ||
213 | - </value> | ||
214 | - </entry> | ||
215 | - <entry key="package_config"> | ||
216 | - <value> | ||
217 | - <list> | ||
218 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/package_config-1.0.5/lib" /> | ||
219 | - </list> | ||
220 | - </value> | ||
221 | - </entry> | ||
222 | - <entry key="package_resolver"> | ||
223 | - <value> | ||
224 | - <list> | ||
225 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/package_resolver-1.0.4/lib" /> | ||
226 | - </list> | ||
227 | - </value> | ||
228 | - </entry> | ||
229 | - <entry key="path"> | ||
230 | - <value> | ||
231 | - <list> | ||
232 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/path-1.6.2/lib" /> | ||
233 | - </list> | ||
234 | - </value> | ||
235 | - </entry> | ||
236 | - <entry key="plugin"> | ||
237 | - <value> | ||
238 | - <list> | ||
239 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/plugin-0.2.0+3/lib" /> | ||
240 | - </list> | ||
241 | - </value> | ||
242 | - </entry> | ||
243 | - <entry key="pool"> | ||
244 | - <value> | ||
245 | - <list> | ||
246 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/pool-1.3.6/lib" /> | ||
247 | - </list> | ||
248 | - </value> | ||
249 | - </entry> | ||
250 | - <entry key="pub_semver"> | ||
251 | - <value> | ||
252 | - <list> | ||
253 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/pub_semver-1.4.2/lib" /> | ||
254 | - </list> | ||
255 | - </value> | ||
256 | - </entry> | ||
257 | - <entry key="quiver"> | ||
258 | - <value> | ||
259 | - <list> | ||
260 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/quiver-2.0.0+1/lib" /> | ||
261 | - </list> | ||
262 | - </value> | ||
263 | - </entry> | ||
264 | - <entry key="shelf"> | ||
265 | - <value> | ||
266 | - <list> | ||
267 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/shelf-0.7.3+3/lib" /> | ||
268 | - </list> | ||
269 | - </value> | ||
270 | - </entry> | ||
271 | - <entry key="shelf_packages_handler"> | ||
272 | - <value> | ||
273 | - <list> | ||
274 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/shelf_packages_handler-1.0.4/lib" /> | ||
275 | - </list> | ||
276 | - </value> | ||
277 | - </entry> | ||
278 | - <entry key="shelf_static"> | ||
279 | - <value> | ||
280 | - <list> | ||
281 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/shelf_static-0.2.8/lib" /> | ||
282 | - </list> | ||
283 | - </value> | ||
284 | - </entry> | ||
285 | - <entry key="shelf_web_socket"> | ||
286 | - <value> | ||
287 | - <list> | ||
288 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/shelf_web_socket-0.2.2+4/lib" /> | ||
289 | - </list> | ||
290 | - </value> | ||
291 | - </entry> | ||
292 | - <entry key="sky_engine"> | ||
293 | - <value> | ||
294 | - <list> | ||
295 | - <option value="D:/flutter/bin/cache/pkg/sky_engine/lib" /> | ||
296 | - </list> | ||
297 | - </value> | ||
298 | - </entry> | ||
299 | - <entry key="source_map_stack_trace"> | ||
300 | - <value> | ||
301 | - <list> | ||
302 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/source_map_stack_trace-1.1.5/lib" /> | ||
303 | - </list> | ||
304 | - </value> | ||
305 | - </entry> | ||
306 | - <entry key="source_maps"> | ||
307 | - <value> | ||
308 | - <list> | ||
309 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/source_maps-0.10.7/lib" /> | ||
310 | - </list> | ||
311 | - </value> | ||
312 | - </entry> | ||
313 | - <entry key="source_span"> | ||
314 | - <value> | ||
315 | - <list> | ||
316 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/source_span-1.4.1/lib" /> | ||
317 | - </list> | ||
318 | - </value> | ||
319 | - </entry> | ||
320 | - <entry key="stack_trace"> | ||
321 | - <value> | ||
322 | - <list> | ||
323 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib" /> | ||
324 | - </list> | ||
325 | - </value> | ||
326 | - </entry> | ||
327 | - <entry key="stream_channel"> | ||
328 | - <value> | ||
329 | - <list> | ||
330 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/stream_channel-1.6.8/lib" /> | ||
331 | - </list> | ||
332 | - </value> | ||
333 | - </entry> | ||
334 | - <entry key="string_scanner"> | ||
335 | - <value> | ||
336 | - <list> | ||
337 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/string_scanner-1.0.4/lib" /> | ||
338 | - </list> | ||
339 | - </value> | ||
340 | - </entry> | ||
341 | - <entry key="term_glyph"> | ||
342 | - <value> | ||
343 | - <list> | ||
344 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/term_glyph-1.0.1/lib" /> | ||
345 | - </list> | ||
346 | - </value> | ||
347 | - </entry> | ||
348 | - <entry key="test"> | ||
349 | - <value> | ||
350 | - <list> | ||
351 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/test-1.3.0/lib" /> | ||
352 | - </list> | ||
353 | - </value> | ||
354 | - </entry> | ||
355 | - <entry key="typed_data"> | ||
356 | - <value> | ||
357 | - <list> | ||
358 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib" /> | ||
359 | - </list> | ||
360 | - </value> | ||
361 | - </entry> | ||
362 | - <entry key="utf"> | ||
363 | - <value> | ||
364 | - <list> | ||
365 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/utf-0.9.0+5/lib" /> | ||
366 | - </list> | ||
367 | - </value> | ||
368 | - </entry> | ||
369 | - <entry key="vector_math"> | ||
370 | - <value> | ||
371 | - <list> | ||
372 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/vector_math-2.0.8/lib" /> | ||
373 | - </list> | ||
374 | - </value> | ||
375 | - </entry> | ||
376 | - <entry key="vm_service_client"> | ||
377 | - <value> | ||
378 | - <list> | ||
379 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/vm_service_client-0.2.6/lib" /> | ||
380 | - </list> | ||
381 | - </value> | ||
382 | - </entry> | ||
383 | - <entry key="watcher"> | ||
384 | - <value> | ||
385 | - <list> | ||
386 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/watcher-0.9.7+10/lib" /> | ||
387 | - </list> | ||
388 | - </value> | ||
389 | - </entry> | ||
390 | - <entry key="web_socket_channel"> | ||
391 | - <value> | ||
392 | - <list> | ||
393 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/web_socket_channel-1.0.9/lib" /> | ||
394 | - </list> | ||
395 | - </value> | ||
396 | - </entry> | ||
397 | - <entry key="yaml"> | ||
398 | - <value> | ||
399 | - <list> | ||
400 | - <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/yaml-2.1.15/lib" /> | ||
401 | - </list> | ||
402 | - </value> | ||
403 | - </entry> | ||
404 | - </option> | ||
405 | - </properties> | 2 | + <library name="Dart Packages"> |
406 | <CLASSES> | 3 | <CLASSES> |
407 | - <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib" /> | 4 | + <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenutil-d3a81e8015a4ac3281cd4e335a5c54e91183e743/lib" /> |
408 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/analyzer-0.32.4/lib" /> | 5 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/analyzer-0.32.4/lib" /> |
409 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/args-1.5.0/lib" /> | 6 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/args-1.5.0/lib" /> |
410 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/async-2.0.8/lib" /> | 7 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/async-2.0.8/lib" /> |
411 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib" /> | 8 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib" /> |
412 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib" /> | 9 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib" /> |
413 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib" /> | 10 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib" /> |
414 | - <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib" /> | ||
415 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/convert-2.0.2/lib" /> | 11 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/convert-2.0.2/lib" /> |
416 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/crypto-2.0.6/lib" /> | 12 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/crypto-2.0.6/lib" /> |
417 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/csslib-0.14.5/lib" /> | 13 | <root url="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/csslib-0.14.5/lib" /> |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project version="4"> | 2 | <project version="4"> |
3 | + <component name="CMakeSettings"> | ||
4 | + <configurations> | ||
5 | + <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" /> | ||
6 | + </configurations> | ||
7 | + </component> | ||
3 | <component name="ChangeListManager"> | 8 | <component name="ChangeListManager"> |
4 | <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment="修改release无效的bug"> | 9 | <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment="修改release无效的bug"> |
5 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> | ||
6 | - <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> | ||
7 | - <change beforePath="$PROJECT_DIR$/.packages" afterPath="$PROJECT_DIR$/.packages" /> | ||
8 | - <change beforePath="$PROJECT_DIR$/example/pubspec.lock" afterPath="$PROJECT_DIR$/example/pubspec.lock" /> | ||
9 | - <change beforePath="$PROJECT_DIR$/pubspec.yaml" afterPath="$PROJECT_DIR$/pubspec.yaml" /> | 10 | + <change afterPath="$PROJECT_DIR$/README-EN.md" afterDir="false" /> |
11 | + <change afterPath="$PROJECT_DIR$/effect.png" afterDir="false" /> | ||
12 | + <change afterPath="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" afterDir="false" /> | ||
13 | + <change beforePath="$PROJECT_DIR$/.idea/libraries/Dart_Packages.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/libraries/Dart_Packages.xml" afterDir="false" /> | ||
14 | + <change beforePath="$PROJECT_DIR$/.idea/libraries/Flutter_Plugins.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/libraries/Flutter_Plugins.xml" afterDir="false" /> | ||
15 | + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | ||
16 | + <change beforePath="$PROJECT_DIR$/example/.idea/libraries/Dart_SDK.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/.idea/libraries/Dart_SDK.xml" afterDir="false" /> | ||
17 | + <change beforePath="$PROJECT_DIR$/example/.idea/libraries/Flutter_for_Android.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/.idea/libraries/Flutter_for_Android.xml" afterDir="false" /> | ||
18 | + <change beforePath="$PROJECT_DIR$/example/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/.idea/workspace.xml" afterDir="false" /> | ||
19 | + <change beforePath="$PROJECT_DIR$/example/lib/main.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/lib/main.dart" afterDir="false" /> | ||
20 | + <change beforePath="$PROJECT_DIR$/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/pubspec.yaml" afterDir="false" /> | ||
10 | </list> | 21 | </list> |
11 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | 22 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> |
12 | <option name="TRACKING_ENABLED" value="true" /> | 23 | <option name="TRACKING_ENABLED" value="true" /> |
@@ -21,10 +32,7 @@ | @@ -21,10 +32,7 @@ | ||
21 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 32 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
22 | <provider selected="true" editor-type-id="text-editor"> | 33 | <provider selected="true" editor-type-id="text-editor"> |
23 | <state relative-caret-position="1809"> | 34 | <state relative-caret-position="1809"> |
24 | - <caret line="70" column="26" lean-forward="false" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> | ||
25 | - <folding> | ||
26 | - <element signature="e#0#1813#0" expanded="true" /> | ||
27 | - </folding> | 35 | + <caret line="70" column="26" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> |
28 | </state> | 36 | </state> |
29 | </provider> | 37 | </provider> |
30 | </entry> | 38 | </entry> |
@@ -32,31 +40,35 @@ | @@ -32,31 +40,35 @@ | ||
32 | <file leaf-file-name="main.dart" pinned="false" current-in-tab="false"> | 40 | <file leaf-file-name="main.dart" pinned="false" current-in-tab="false"> |
33 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 41 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
34 | <provider selected="true" editor-type-id="text-editor"> | 42 | <provider selected="true" editor-type-id="text-editor"> |
35 | - <state relative-caret-position="1107"> | ||
36 | - <caret line="41" column="47" lean-forward="false" selection-start-line="41" selection-start-column="47" selection-end-line="41" selection-end-column="47" /> | ||
37 | - <folding> | ||
38 | - <element signature="e#0#39#0" expanded="true" /> | ||
39 | - </folding> | 43 | + <state relative-caret-position="130"> |
44 | + <caret line="52" selection-start-line="52" selection-end-line="52" /> | ||
40 | </state> | 45 | </state> |
41 | </provider> | 46 | </provider> |
42 | </entry> | 47 | </entry> |
43 | </file> | 48 | </file> |
44 | - <file leaf-file-name="README.md" pinned="false" current-in-tab="false"> | ||
45 | - <entry file="file://$PROJECT_DIR$/README.md"> | 49 | + <file leaf-file-name="flutter_screenutil.dart" pinned="false" current-in-tab="false"> |
50 | + <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart"> | ||
46 | <provider selected="true" editor-type-id="text-editor"> | 51 | <provider selected="true" editor-type-id="text-editor"> |
47 | - <state relative-caret-position="488"> | ||
48 | - <caret line="120" column="6" lean-forward="false" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
49 | - <folding /> | 52 | + <state relative-caret-position="54"> |
53 | + <caret line="5" column="39" selection-start-line="5" selection-start-column="39" selection-end-line="5" selection-end-column="39" /> | ||
50 | </state> | 54 | </state> |
51 | </provider> | 55 | </provider> |
52 | </entry> | 56 | </entry> |
53 | </file> | 57 | </file> |
54 | - <file leaf-file-name="pubspec.yaml" pinned="false" current-in-tab="true"> | ||
55 | - <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | 58 | + <file leaf-file-name="README-EN.md" pinned="false" current-in-tab="true"> |
59 | + <entry file="file://$PROJECT_DIR$/README-EN.md"> | ||
60 | + <provider selected="true" editor-type-id="text-editor"> | ||
61 | + <state relative-caret-position="332"> | ||
62 | + <caret line="131" lean-forward="true" selection-start-line="131" selection-end-line="131" /> | ||
63 | + </state> | ||
64 | + </provider> | ||
65 | + </entry> | ||
66 | + </file> | ||
67 | + <file leaf-file-name="README.md" pinned="false" current-in-tab="false"> | ||
68 | + <entry file="file://$PROJECT_DIR$/README.md"> | ||
56 | <provider selected="true" editor-type-id="text-editor"> | 69 | <provider selected="true" editor-type-id="text-editor"> |
57 | - <state relative-caret-position="108"> | ||
58 | - <caret line="4" column="58" lean-forward="true" selection-start-line="4" selection-start-column="58" selection-end-line="4" selection-end-column="58" /> | ||
59 | - <folding /> | 70 | + <state relative-caret-position="3240"> |
71 | + <caret line="120" column="6" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
60 | </state> | 72 | </state> |
61 | </provider> | 73 | </provider> |
62 | </entry> | 74 | </entry> |
@@ -65,8 +77,7 @@ | @@ -65,8 +77,7 @@ | ||
65 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 77 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
66 | <provider selected="true" editor-type-id="text-editor"> | 78 | <provider selected="true" editor-type-id="text-editor"> |
67 | <state relative-caret-position="432"> | 79 | <state relative-caret-position="432"> |
68 | - <caret line="16" column="16" lean-forward="false" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
69 | - <folding /> | 80 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> |
70 | </state> | 81 | </state> |
71 | </provider> | 82 | </provider> |
72 | </entry> | 83 | </entry> |
@@ -83,6 +94,7 @@ | @@ -83,6 +94,7 @@ | ||
83 | <find>scaleWidth</find> | 94 | <find>scaleWidth</find> |
84 | <find>instance</find> | 95 | <find>instance</find> |
85 | <find>ScreenUtil.getInstance()</find> | 96 | <find>ScreenUtil.getInstance()</find> |
97 | + <find>`</find> | ||
86 | </findStrings> | 98 | </findStrings> |
87 | <replaceStrings> | 99 | <replaceStrings> |
88 | <replace>ScreenUtil()</replace> | 100 | <replace>ScreenUtil()</replace> |
@@ -91,11 +103,6 @@ | @@ -91,11 +103,6 @@ | ||
91 | <component name="Git.Settings"> | 103 | <component name="Git.Settings"> |
92 | <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> | 104 | <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> |
93 | </component> | 105 | </component> |
94 | - <component name="GradleLocalSettings"> | ||
95 | - <option name="externalProjectsViewState"> | ||
96 | - <projects_view /> | ||
97 | - </option> | ||
98 | - </component> | ||
99 | <component name="IdeDocumentHistory"> | 106 | <component name="IdeDocumentHistory"> |
100 | <option name="CHANGED_PATHS"> | 107 | <option name="CHANGED_PATHS"> |
101 | <list> | 108 | <list> |
@@ -103,9 +110,10 @@ | @@ -103,9 +110,10 @@ | ||
103 | <option value="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> | 110 | <option value="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> |
104 | <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib/flutter_screenutil.dart" /> | 111 | <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib/flutter_screenutil.dart" /> |
105 | <option value="$PROJECT_DIR$/lib/flutter_screenutil.dart" /> | 112 | <option value="$PROJECT_DIR$/lib/flutter_screenutil.dart" /> |
106 | - <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
107 | <option value="$PROJECT_DIR$/README.md" /> | 113 | <option value="$PROJECT_DIR$/README.md" /> |
108 | <option value="$PROJECT_DIR$/pubspec.yaml" /> | 114 | <option value="$PROJECT_DIR$/pubspec.yaml" /> |
115 | + <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
116 | + <option value="$PROJECT_DIR$/README-EN.md" /> | ||
109 | </list> | 117 | </list> |
110 | </option> | 118 | </option> |
111 | </component> | 119 | </component> |
@@ -119,22 +127,11 @@ | @@ -119,22 +127,11 @@ | ||
119 | </component> | 127 | </component> |
120 | <component name="ProjectView"> | 128 | <component name="ProjectView"> |
121 | <navigator currentView="ProjectPane" proportions="" version="1"> | 129 | <navigator currentView="ProjectPane" proportions="" version="1"> |
122 | - <flattenPackages /> | ||
123 | - <showMembers /> | ||
124 | - <showModules /> | ||
125 | - <showLibraryContents /> | ||
126 | - <hideEmptyPackages /> | ||
127 | - <abbreviatePackageNames /> | ||
128 | - <autoscrollToSource /> | ||
129 | - <autoscrollFromSource /> | ||
130 | - <sortByType /> | ||
131 | - <manualOrder /> | ||
132 | <foldersAlwaysOnTop value="true" /> | 130 | <foldersAlwaysOnTop value="true" /> |
133 | </navigator> | 131 | </navigator> |
134 | <panes> | 132 | <panes> |
135 | - <pane id="PackagesPane" /> | ||
136 | <pane id="Scope" /> | 133 | <pane id="Scope" /> |
137 | - <pane id="Scratches" /> | 134 | + <pane id="AndroidView" /> |
138 | <pane id="ProjectPane"> | 135 | <pane id="ProjectPane"> |
139 | <subPane> | 136 | <subPane> |
140 | <expand> | 137 | <expand> |
@@ -145,27 +142,39 @@ | @@ -145,27 +142,39 @@ | ||
145 | <path> | 142 | <path> |
146 | <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | 143 | <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> |
147 | <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | 144 | <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> |
145 | + <item name="example" type="462c0819:PsiDirectoryNode" /> | ||
146 | + </path> | ||
147 | + <path> | ||
148 | + <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | ||
149 | + <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | ||
150 | + <item name="example" type="462c0819:PsiDirectoryNode" /> | ||
151 | + <item name="lib" type="462c0819:PsiDirectoryNode" /> | ||
152 | + </path> | ||
153 | + <path> | ||
154 | + <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | ||
155 | + <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | ||
148 | <item name="lib" type="462c0819:PsiDirectoryNode" /> | 156 | <item name="lib" type="462c0819:PsiDirectoryNode" /> |
149 | </path> | 157 | </path> |
150 | </expand> | 158 | </expand> |
151 | <select /> | 159 | <select /> |
152 | </subPane> | 160 | </subPane> |
153 | </pane> | 161 | </pane> |
154 | - <pane id="AndroidView" /> | 162 | + <pane id="PackagesPane" /> |
155 | </panes> | 163 | </panes> |
156 | </component> | 164 | </component> |
157 | <component name="PropertiesComponent"> | 165 | <component name="PropertiesComponent"> |
158 | - <property name="settings.editor.selected.configurable" value="android.sdk-updates" /> | ||
159 | <property name="android.project.structure.last.selected" value="SDK Location" /> | 166 | <property name="android.project.structure.last.selected" value="SDK Location" /> |
160 | <property name="android.project.structure.proportion" value="0.15" /> | 167 | <property name="android.project.structure.proportion" value="0.15" /> |
161 | <property name="android.sdk.path" value="D:/Android/sdk" /> | 168 | <property name="android.sdk.path" value="D:/Android/sdk" /> |
162 | - <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||
163 | - <property name="show.migrate.to.gradle.popup" value="false" /> | ||
164 | <property name="dart.analysis.tool.window.force.activate" value="false" /> | 169 | <property name="dart.analysis.tool.window.force.activate" value="false" /> |
165 | <property name="io.flutter.reload.alreadyRun" value="true" /> | 170 | <property name="io.flutter.reload.alreadyRun" value="true" /> |
171 | + <property name="last_opened_file_path" value="$PROJECT_DIR$/example" /> | ||
172 | + <property name="settings.editor.selected.configurable" value="android.sdk-updates" /> | ||
173 | + <property name="show.migrate.to.gradle.popup" value="false" /> | ||
166 | </component> | 174 | </component> |
167 | <component name="RecentsManager"> | 175 | <component name="RecentsManager"> |
168 | <key name="CopyFile.RECENT_KEYS"> | 176 | <key name="CopyFile.RECENT_KEYS"> |
177 | + <recent name="D:\Project\flutter_ScreenUtil" /> | ||
169 | <recent name="D:\Project\flutter_ScreenUtil\example\lib" /> | 178 | <recent name="D:\Project\flutter_ScreenUtil\example\lib" /> |
170 | <recent name="F:\screenutil" /> | 179 | <recent name="F:\screenutil" /> |
171 | </key> | 180 | </key> |
@@ -184,32 +193,12 @@ | @@ -184,32 +193,12 @@ | ||
184 | </component> | 193 | </component> |
185 | <component name="RunManager"> | 194 | <component name="RunManager"> |
186 | <configuration default="true" type="Application" factoryName="Application"> | 195 | <configuration default="true" type="Application" factoryName="Application"> |
187 | - <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> | ||
188 | - <option name="MAIN_CLASS_NAME" /> | ||
189 | - <option name="VM_PARAMETERS" /> | ||
190 | - <option name="PROGRAM_PARAMETERS" /> | ||
191 | <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | 196 | <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
192 | - <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | ||
193 | - <option name="ALTERNATIVE_JRE_PATH" /> | ||
194 | - <option name="ENABLE_SWING_INSPECTOR" value="false" /> | ||
195 | - <option name="ENV_VARIABLES" /> | ||
196 | - <option name="PASS_PARENT_ENVS" value="true" /> | ||
197 | - <module name="" /> | ||
198 | - <envs /> | ||
199 | </configuration> | 197 | </configuration> |
200 | <configuration name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter" temporary="true" nameIsGenerated="true"> | 198 | <configuration name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter" temporary="true" nameIsGenerated="true"> |
201 | <option name="filePath" value="$PROJECT_DIR$/example/lib/main.dart" /> | 199 | <option name="filePath" value="$PROJECT_DIR$/example/lib/main.dart" /> |
202 | </configuration> | 200 | </configuration> |
203 | - <configuration default="true" type="Remote" factoryName="Remote"> | ||
204 | - <option name="USE_SOCKET_TRANSPORT" value="true" /> | ||
205 | - <option name="SERVER_MODE" value="false" /> | ||
206 | - <option name="SHMEM_ADDRESS" value="javadebug" /> | ||
207 | - <option name="HOST" value="localhost" /> | ||
208 | - <option name="PORT" value="5005" /> | ||
209 | - </configuration> | ||
210 | <configuration default="true" type="TestNG" factoryName="TestNG"> | 201 | <configuration default="true" type="TestNG" factoryName="TestNG"> |
211 | - <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> | ||
212 | - <module name="" /> | ||
213 | <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | 202 | <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> |
214 | <option name="ALTERNATIVE_JRE_PATH" /> | 203 | <option name="ALTERNATIVE_JRE_PATH" /> |
215 | <option name="SUITE_NAME" /> | 204 | <option name="SUITE_NAME" /> |
@@ -222,15 +211,12 @@ | @@ -222,15 +211,12 @@ | ||
222 | <option name="PARAMETERS" /> | 211 | <option name="PARAMETERS" /> |
223 | <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | 212 | <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
224 | <option name="OUTPUT_DIRECTORY" /> | 213 | <option name="OUTPUT_DIRECTORY" /> |
225 | - <option name="ANNOTATION_TYPE" /> | ||
226 | - <option name="ENV_VARIABLES" /> | ||
227 | <option name="PASS_PARENT_ENVS" value="true" /> | 214 | <option name="PASS_PARENT_ENVS" value="true" /> |
228 | <option name="TEST_SEARCH_SCOPE"> | 215 | <option name="TEST_SEARCH_SCOPE"> |
229 | <value defaultName="singleModule" /> | 216 | <value defaultName="singleModule" /> |
230 | </option> | 217 | </option> |
231 | <option name="USE_DEFAULT_REPORTERS" value="false" /> | 218 | <option name="USE_DEFAULT_REPORTERS" value="false" /> |
232 | <option name="PROPERTIES_FILE" /> | 219 | <option name="PROPERTIES_FILE" /> |
233 | - <envs /> | ||
234 | <properties /> | 220 | <properties /> |
235 | <listeners /> | 221 | <listeners /> |
236 | </configuration> | 222 | </configuration> |
@@ -268,14 +254,11 @@ | @@ -268,14 +254,11 @@ | ||
268 | <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" /> | 254 | <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" /> |
269 | </configuration> | 255 | </configuration> |
270 | <recent_temporary> | 256 | <recent_temporary> |
271 | - <list size="1"> | ||
272 | - <item index="0" class="java.lang.String" itemvalue="Flutter.main.dart" /> | 257 | + <list> |
258 | + <item itemvalue="Flutter.main.dart" /> | ||
273 | </list> | 259 | </list> |
274 | </recent_temporary> | 260 | </recent_temporary> |
275 | </component> | 261 | </component> |
276 | - <component name="ShelveChangesManager" show_recycled="false"> | ||
277 | - <option name="remove_strategy" value="false" /> | ||
278 | - </component> | ||
279 | <component name="SvnConfiguration"> | 262 | <component name="SvnConfiguration"> |
280 | <configuration /> | 263 | <configuration /> |
281 | </component> | 264 | </component> |
@@ -343,45 +326,52 @@ | @@ -343,45 +326,52 @@ | ||
343 | <option name="project" value="LOCAL" /> | 326 | <option name="project" value="LOCAL" /> |
344 | <updated>1538207747808</updated> | 327 | <updated>1538207747808</updated> |
345 | </task> | 328 | </task> |
346 | - <option name="localTasksCounter" value="9" /> | 329 | + <task id="LOCAL-00009" summary="修改版本号"> |
330 | + <created>1538207933997</created> | ||
331 | + <option name="number" value="00009" /> | ||
332 | + <option name="presentableId" value="LOCAL-00009" /> | ||
333 | + <option name="project" value="LOCAL" /> | ||
334 | + <updated>1538207933997</updated> | ||
335 | + </task> | ||
336 | + <option name="localTasksCounter" value="10" /> | ||
347 | <servers /> | 337 | <servers /> |
348 | </component> | 338 | </component> |
349 | <component name="ToolWindowManager"> | 339 | <component name="ToolWindowManager"> |
350 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> | 340 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> |
351 | <editor active="true" /> | 341 | <editor active="true" /> |
352 | <layout> | 342 | <layout> |
353 | - <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> | ||
354 | - <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297062" sideWeight="0.49573562" order="8" side_tool="false" content_ui="tabs" /> | ||
355 | - <window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
356 | - <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||
357 | - <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
358 | - <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3297062" sideWeight="0.5042644" order="8" side_tool="true" content_ui="tabs" /> | ||
359 | - <window_info id="Dart Analysis" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3297062" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
360 | - <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3297062" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||
361 | - <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32861805" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
362 | - <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3297062" sideWeight="0.49573562" order="8" side_tool="false" content_ui="tabs" /> | ||
363 | - <window_info id="Flutter Outline" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
364 | - <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||
365 | - <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||
366 | - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> | ||
367 | - <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||
368 | - <window_info id="Fabric" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
369 | - <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
370 | - <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||
371 | - <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" /> | ||
372 | - <window_info id="Flutter Inspector" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
373 | - <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
374 | - <window_info id="Android Profiler" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
375 | - <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||
376 | - <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||
377 | - <window_info id="Build Variants" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" /> | ||
378 | - <window_info id="Logcat" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
379 | - <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> | ||
380 | - <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||
381 | - <window_info id="Device File Explorer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" /> | ||
382 | - <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> | ||
383 | - <window_info id="Captures" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||
384 | - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | 343 | + <window_info anchor="bottom" id="TODO" order="6" /> |
344 | + <window_info anchor="right" id="Palette	" order="4" /> | ||
345 | + <window_info id="Image Layers" order="3" /> | ||
346 | + <window_info anchor="right" id="Capture Analysis" order="4" /> | ||
347 | + <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.5042644" side_tool="true" weight="0.3297062" /> | ||
348 | + <window_info anchor="bottom" id="Dart Analysis" order="8" weight="0.3297062" /> | ||
349 | + <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.3293348" /> | ||
350 | + <window_info anchor="bottom" id="Version Control" order="8" weight="0.32861805" /> | ||
351 | + <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49573562" weight="0.3297062" /> | ||
352 | + <window_info anchor="right" id="Flutter Outline" order="4" /> | ||
353 | + <window_info id="Capture Tool" order="3" /> | ||
354 | + <window_info id="Designer" order="3" /> | ||
355 | + <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" /> | ||
356 | + <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> | ||
357 | + <window_info anchor="right" id="Fabric" order="4" /> | ||
358 | + <window_info anchor="right" id="Theme Preview" order="4" /> | ||
359 | + <window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> | ||
360 | + <window_info id="Favorites" order="3" side_tool="true" /> | ||
361 | + <window_info anchor="right" id="Flutter Inspector" order="4" /> | ||
362 | + <window_info anchor="right" id="Commander" order="0" weight="0.4" /> | ||
363 | + <window_info id="Captures" order="2" weight="0.25" /> | ||
364 | + <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> | ||
365 | + <window_info id="Build Variants" order="3" side_tool="true" /> | ||
366 | + <window_info anchor="bottom" id="Android Profiler" order="8" show_stripe_button="false" /> | ||
367 | + <window_info anchor="bottom" id="Find" order="1" /> | ||
368 | + <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> | ||
369 | + <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> | ||
370 | + <window_info anchor="bottom" id="Logcat" order="8" /> | ||
371 | + <window_info anchor="bottom" id="Messages" order="8" sideWeight="0.49573562" visible="true" weight="0.3297062" /> | ||
372 | + <window_info anchor="bottom" id="Message" order="0" /> | ||
373 | + <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> | ||
374 | + <window_info anchor="right" id="Device File Explorer" order="4" side_tool="true" /> | ||
385 | </layout> | 375 | </layout> |
386 | </component> | 376 | </component> |
387 | <component name="UnknownFeatures"> | 377 | <component name="UnknownFeatures"> |
@@ -394,40 +384,138 @@ | @@ -394,40 +384,138 @@ | ||
394 | <MESSAGE value="添加示例" /> | 384 | <MESSAGE value="添加示例" /> |
395 | <MESSAGE value="优化示例代码" /> | 385 | <MESSAGE value="优化示例代码" /> |
396 | <MESSAGE value="修改release无效的bug" /> | 386 | <MESSAGE value="修改release无效的bug" /> |
397 | - <option name="LAST_COMMIT_MESSAGE" value="修改release无效的bug" /> | 387 | + <MESSAGE value="修改版本号" /> |
388 | + <option name="LAST_COMMIT_MESSAGE" value="修改版本号" /> | ||
398 | </component> | 389 | </component> |
399 | <component name="XDebuggerManager"> | 390 | <component name="XDebuggerManager"> |
400 | <breakpoint-manager> | 391 | <breakpoint-manager> |
401 | <option name="time" value="1" /> | 392 | <option name="time" value="1" /> |
402 | </breakpoint-manager> | 393 | </breakpoint-manager> |
403 | - <watches-manager /> | ||
404 | </component> | 394 | </component> |
405 | <component name="editorHistoryManager"> | 395 | <component name="editorHistoryManager"> |
396 | + <entry file="file://$PROJECT_DIR$/README-EN.md"> | ||
397 | + <provider selected="true" editor-type-id="text-editor"> | ||
398 | + <state relative-caret-position="2457"> | ||
399 | + <caret line="91" column="29" selection-start-line="91" selection-start-column="29" selection-end-line="91" selection-end-column="29" /> | ||
400 | + </state> | ||
401 | + </provider> | ||
402 | + </entry> | ||
403 | + <entry file="file://$PROJECT_DIR$/README.md"> | ||
404 | + <provider selected="true" editor-type-id="text-editor"> | ||
405 | + <state relative-caret-position="3240"> | ||
406 | + <caret line="120" column="6" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
407 | + </state> | ||
408 | + </provider> | ||
409 | + </entry> | ||
410 | + <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | ||
411 | + <provider selected="true" editor-type-id="text-editor"> | ||
412 | + <state relative-caret-position="432"> | ||
413 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
414 | + </state> | ||
415 | + </provider> | ||
416 | + </entry> | ||
417 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
418 | + <provider selected="true" editor-type-id="text-editor"> | ||
419 | + <state relative-caret-position="189"> | ||
420 | + <caret line="8" column="38" lean-forward="true" selection-start-line="8" selection-start-column="38" selection-end-line="8" selection-end-column="38" /> | ||
421 | + </state> | ||
422 | + </provider> | ||
423 | + </entry> | ||
424 | + <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | ||
425 | + <provider selected="true" editor-type-id="text-editor"> | ||
426 | + <state relative-caret-position="1890"> | ||
427 | + <caret line="70" column="26" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> | ||
428 | + </state> | ||
429 | + </provider> | ||
430 | + </entry> | ||
431 | + <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart"> | ||
432 | + <provider selected="true" editor-type-id="text-editor"> | ||
433 | + <state relative-caret-position="135"> | ||
434 | + <caret line="5" column="39" lean-forward="true" selection-start-line="5" selection-start-column="39" selection-end-line="5" selection-end-column="39" /> | ||
435 | + </state> | ||
436 | + </provider> | ||
437 | + </entry> | ||
438 | + <entry file="file://$PROJECT_DIR$/README-EN.md"> | ||
439 | + <provider selected="true" editor-type-id="text-editor"> | ||
440 | + <state relative-caret-position="2457"> | ||
441 | + <caret line="91" column="29" lean-forward="true" selection-start-line="91" selection-start-column="29" selection-end-line="91" selection-end-column="29" /> | ||
442 | + </state> | ||
443 | + </provider> | ||
444 | + </entry> | ||
445 | + <entry file="file://$PROJECT_DIR$/README.md"> | ||
446 | + <provider selected="true" editor-type-id="text-editor"> | ||
447 | + <state relative-caret-position="3240"> | ||
448 | + <caret line="120" column="6" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
449 | + </state> | ||
450 | + </provider> | ||
451 | + </entry> | ||
452 | + <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | ||
453 | + <provider selected="true" editor-type-id="text-editor"> | ||
454 | + <state relative-caret-position="432"> | ||
455 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
456 | + </state> | ||
457 | + </provider> | ||
458 | + </entry> | ||
459 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
460 | + <provider selected="true" editor-type-id="text-editor"> | ||
461 | + <state relative-caret-position="1458"> | ||
462 | + <caret line="54" column="16" lean-forward="true" selection-start-line="54" selection-start-column="16" selection-end-line="54" selection-end-column="16" /> | ||
463 | + </state> | ||
464 | + </provider> | ||
465 | + </entry> | ||
466 | + <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | ||
467 | + <provider selected="true" editor-type-id="text-editor"> | ||
468 | + <state relative-caret-position="1890"> | ||
469 | + <caret line="70" column="26" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> | ||
470 | + </state> | ||
471 | + </provider> | ||
472 | + </entry> | ||
473 | + <entry file="file://$PROJECT_DIR$/README.md"> | ||
474 | + <provider selected="true" editor-type-id="text-editor"> | ||
475 | + <state relative-caret-position="3240"> | ||
476 | + <caret line="120" column="6" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
477 | + </state> | ||
478 | + </provider> | ||
479 | + </entry> | ||
480 | + <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | ||
481 | + <provider selected="true" editor-type-id="text-editor"> | ||
482 | + <state relative-caret-position="108"> | ||
483 | + <caret line="4" column="58" selection-start-line="4" selection-start-column="58" selection-end-line="4" selection-end-column="58" /> | ||
484 | + </state> | ||
485 | + </provider> | ||
486 | + </entry> | ||
487 | + <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | ||
488 | + <provider selected="true" editor-type-id="text-editor"> | ||
489 | + <state relative-caret-position="432"> | ||
490 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
491 | + </state> | ||
492 | + </provider> | ||
493 | + </entry> | ||
494 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
495 | + <provider selected="true" editor-type-id="text-editor"> | ||
496 | + <state relative-caret-position="1944"> | ||
497 | + <caret line="72" column="16" selection-start-line="72" selection-start-column="16" selection-end-line="72" selection-end-column="16" /> | ||
498 | + </state> | ||
499 | + </provider> | ||
500 | + </entry> | ||
406 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 501 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
407 | <provider selected="true" editor-type-id="text-editor"> | 502 | <provider selected="true" editor-type-id="text-editor"> |
408 | <state relative-caret-position="1809"> | 503 | <state relative-caret-position="1809"> |
409 | <caret line="70" column="26" lean-forward="true" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> | 504 | <caret line="70" column="26" lean-forward="true" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> |
410 | - <folding> | ||
411 | - <element signature="e#0#1813#0" expanded="true" /> | ||
412 | - </folding> | ||
413 | </state> | 505 | </state> |
414 | </provider> | 506 | </provider> |
415 | </entry> | 507 | </entry> |
416 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 508 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
417 | <provider selected="true" editor-type-id="text-editor"> | 509 | <provider selected="true" editor-type-id="text-editor"> |
418 | <state relative-caret-position="1107"> | 510 | <state relative-caret-position="1107"> |
419 | - <caret line="41" column="47" lean-forward="false" selection-start-line="41" selection-start-column="47" selection-end-line="41" selection-end-column="47" /> | ||
420 | - <folding> | ||
421 | - <element signature="e#0#39#0" expanded="true" /> | ||
422 | - </folding> | 511 | + <caret line="41" column="47" selection-start-line="41" selection-start-column="47" selection-end-line="41" selection-end-column="47" /> |
423 | </state> | 512 | </state> |
424 | </provider> | 513 | </provider> |
425 | </entry> | 514 | </entry> |
426 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 515 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
427 | <provider selected="true" editor-type-id="text-editor"> | 516 | <provider selected="true" editor-type-id="text-editor"> |
428 | <state relative-caret-position="432"> | 517 | <state relative-caret-position="432"> |
429 | - <caret line="16" column="16" lean-forward="false" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
430 | - <folding /> | 518 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> |
431 | </state> | 519 | </state> |
432 | </provider> | 520 | </provider> |
433 | </entry> | 521 | </entry> |
@@ -435,33 +523,25 @@ | @@ -435,33 +523,25 @@ | ||
435 | <provider selected="true" editor-type-id="text-editor"> | 523 | <provider selected="true" editor-type-id="text-editor"> |
436 | <state relative-caret-position="3240"> | 524 | <state relative-caret-position="3240"> |
437 | <caret line="120" column="6" lean-forward="true" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | 525 | <caret line="120" column="6" lean-forward="true" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> |
438 | - <folding /> | ||
439 | </state> | 526 | </state> |
440 | </provider> | 527 | </provider> |
441 | </entry> | 528 | </entry> |
442 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 529 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
443 | <provider selected="true" editor-type-id="text-editor"> | 530 | <provider selected="true" editor-type-id="text-editor"> |
444 | - <state relative-caret-position="0"> | ||
445 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
446 | - <folding> | ||
447 | - <element signature="e#0#1813#0" expanded="true" /> | ||
448 | - </folding> | ||
449 | - </state> | 531 | + <state /> |
450 | </provider> | 532 | </provider> |
451 | </entry> | 533 | </entry> |
452 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 534 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
453 | <provider selected="true" editor-type-id="text-editor"> | 535 | <provider selected="true" editor-type-id="text-editor"> |
454 | <state relative-caret-position="621"> | 536 | <state relative-caret-position="621"> |
455 | - <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | ||
456 | - <folding /> | 537 | + <caret line="23" column="13" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> |
457 | </state> | 538 | </state> |
458 | </provider> | 539 | </provider> |
459 | </entry> | 540 | </entry> |
460 | <entry file="file://$PROJECT_DIR$/README.md"> | 541 | <entry file="file://$PROJECT_DIR$/README.md"> |
461 | <provider selected="true" editor-type-id="text-editor"> | 542 | <provider selected="true" editor-type-id="text-editor"> |
462 | <state relative-caret-position="2727"> | 543 | <state relative-caret-position="2727"> |
463 | - <caret line="101" column="10" lean-forward="false" selection-start-line="101" selection-start-column="10" selection-end-line="101" selection-end-column="10" /> | ||
464 | - <folding /> | 544 | + <caret line="101" column="10" selection-start-line="101" selection-start-column="10" selection-end-line="101" selection-end-column="10" /> |
465 | </state> | 545 | </state> |
466 | </provider> | 546 | </provider> |
467 | </entry> | 547 | </entry> |
@@ -469,37 +549,25 @@ | @@ -469,37 +549,25 @@ | ||
469 | <provider selected="true" editor-type-id="text-editor"> | 549 | <provider selected="true" editor-type-id="text-editor"> |
470 | <state relative-caret-position="108"> | 550 | <state relative-caret-position="108"> |
471 | <caret line="5" column="37" lean-forward="true" selection-start-line="5" selection-start-column="37" selection-end-line="5" selection-end-column="37" /> | 551 | <caret line="5" column="37" lean-forward="true" selection-start-line="5" selection-start-column="37" selection-end-line="5" selection-end-column="37" /> |
472 | - <folding> | ||
473 | - <element signature="e#0#39#0" expanded="true" /> | ||
474 | - </folding> | ||
475 | </state> | 552 | </state> |
476 | </provider> | 553 | </provider> |
477 | </entry> | 554 | </entry> |
478 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 555 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
479 | <provider selected="true" editor-type-id="text-editor"> | 556 | <provider selected="true" editor-type-id="text-editor"> |
480 | - <state relative-caret-position="0"> | ||
481 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
482 | - <folding> | ||
483 | - <element signature="e#0#1813#0" expanded="true" /> | ||
484 | - </folding> | ||
485 | - </state> | 557 | + <state /> |
486 | </provider> | 558 | </provider> |
487 | </entry> | 559 | </entry> |
488 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 560 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
489 | <provider selected="true" editor-type-id="text-editor"> | 561 | <provider selected="true" editor-type-id="text-editor"> |
490 | <state relative-caret-position="1188"> | 562 | <state relative-caret-position="1188"> |
491 | <caret line="44" column="3" lean-forward="true" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" /> | 563 | <caret line="44" column="3" lean-forward="true" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" /> |
492 | - <folding> | ||
493 | - <element signature="e#0#39#0" expanded="true" /> | ||
494 | - </folding> | ||
495 | </state> | 564 | </state> |
496 | </provider> | 565 | </provider> |
497 | </entry> | 566 | </entry> |
498 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 567 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
499 | <provider selected="true" editor-type-id="text-editor"> | 568 | <provider selected="true" editor-type-id="text-editor"> |
500 | <state relative-caret-position="621"> | 569 | <state relative-caret-position="621"> |
501 | - <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | ||
502 | - <folding /> | 570 | + <caret line="23" column="13" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> |
503 | </state> | 571 | </state> |
504 | </provider> | 572 | </provider> |
505 | </entry> | 573 | </entry> |
@@ -507,35 +575,25 @@ | @@ -507,35 +575,25 @@ | ||
507 | <provider selected="true" editor-type-id="text-editor"> | 575 | <provider selected="true" editor-type-id="text-editor"> |
508 | <state relative-caret-position="2727"> | 576 | <state relative-caret-position="2727"> |
509 | <caret line="101" column="10" lean-forward="true" selection-start-line="101" selection-start-column="10" selection-end-line="101" selection-end-column="10" /> | 577 | <caret line="101" column="10" lean-forward="true" selection-start-line="101" selection-start-column="10" selection-end-line="101" selection-end-column="10" /> |
510 | - <folding /> | ||
511 | </state> | 578 | </state> |
512 | </provider> | 579 | </provider> |
513 | </entry> | 580 | </entry> |
514 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 581 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
515 | <provider selected="true" editor-type-id="text-editor"> | 582 | <provider selected="true" editor-type-id="text-editor"> |
516 | - <state relative-caret-position="0"> | ||
517 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
518 | - <folding> | ||
519 | - <element signature="e#0#1813#0" expanded="true" /> | ||
520 | - </folding> | ||
521 | - </state> | 583 | + <state /> |
522 | </provider> | 584 | </provider> |
523 | </entry> | 585 | </entry> |
524 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 586 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
525 | <provider selected="true" editor-type-id="text-editor"> | 587 | <provider selected="true" editor-type-id="text-editor"> |
526 | <state relative-caret-position="1188"> | 588 | <state relative-caret-position="1188"> |
527 | <caret line="44" column="3" lean-forward="true" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" /> | 589 | <caret line="44" column="3" lean-forward="true" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" /> |
528 | - <folding> | ||
529 | - <element signature="e#0#39#0" expanded="true" /> | ||
530 | - </folding> | ||
531 | </state> | 590 | </state> |
532 | </provider> | 591 | </provider> |
533 | </entry> | 592 | </entry> |
534 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 593 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
535 | <provider selected="true" editor-type-id="text-editor"> | 594 | <provider selected="true" editor-type-id="text-editor"> |
536 | <state relative-caret-position="621"> | 595 | <state relative-caret-position="621"> |
537 | - <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | ||
538 | - <folding /> | 596 | + <caret line="23" column="13" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> |
539 | </state> | 597 | </state> |
540 | </provider> | 598 | </provider> |
541 | </entry> | 599 | </entry> |
@@ -543,80 +601,61 @@ | @@ -543,80 +601,61 @@ | ||
543 | <provider selected="true" editor-type-id="text-editor"> | 601 | <provider selected="true" editor-type-id="text-editor"> |
544 | <state relative-caret-position="2160"> | 602 | <state relative-caret-position="2160"> |
545 | <caret line="80" column="16" lean-forward="true" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" /> | 603 | <caret line="80" column="16" lean-forward="true" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" /> |
546 | - <folding /> | ||
547 | </state> | 604 | </state> |
548 | </provider> | 605 | </provider> |
549 | </entry> | 606 | </entry> |
550 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 607 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
551 | <provider selected="true" editor-type-id="text-editor"> | 608 | <provider selected="true" editor-type-id="text-editor"> |
552 | - <state relative-caret-position="0"> | ||
553 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
554 | - <folding> | ||
555 | - <element signature="e#0#1813#0" expanded="true" /> | ||
556 | - </folding> | ||
557 | - </state> | 609 | + <state /> |
558 | </provider> | 610 | </provider> |
559 | </entry> | 611 | </entry> |
560 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 612 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
561 | <provider selected="true" editor-type-id="text-editor"> | 613 | <provider selected="true" editor-type-id="text-editor"> |
562 | <state relative-caret-position="945"> | 614 | <state relative-caret-position="945"> |
563 | <caret line="35" column="22" lean-forward="true" selection-start-line="35" selection-start-column="22" selection-end-line="35" selection-end-column="22" /> | 615 | <caret line="35" column="22" lean-forward="true" selection-start-line="35" selection-start-column="22" selection-end-line="35" selection-end-column="22" /> |
564 | - <folding> | ||
565 | - <element signature="e#0#39#0" expanded="true" /> | ||
566 | - </folding> | ||
567 | </state> | 616 | </state> |
568 | </provider> | 617 | </provider> |
569 | </entry> | 618 | </entry> |
570 | <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | 619 | <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> |
571 | <provider selected="true" editor-type-id="text-editor"> | 620 | <provider selected="true" editor-type-id="text-editor"> |
572 | <state relative-caret-position="1026"> | 621 | <state relative-caret-position="1026"> |
573 | - <caret line="38" column="2" lean-forward="false" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> | 622 | + <caret line="38" column="2" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> |
574 | </state> | 623 | </state> |
575 | </provider> | 624 | </provider> |
576 | </entry> | 625 | </entry> |
577 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 626 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
578 | <provider selected="true" editor-type-id="text-editor"> | 627 | <provider selected="true" editor-type-id="text-editor"> |
579 | - <state relative-caret-position="0"> | ||
580 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
581 | - <folding> | ||
582 | - <element signature="e#0#1813#0" expanded="true" /> | ||
583 | - </folding> | ||
584 | - </state> | 628 | + <state /> |
585 | </provider> | 629 | </provider> |
586 | </entry> | 630 | </entry> |
587 | <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | 631 | <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> |
588 | <provider selected="true" editor-type-id="text-editor"> | 632 | <provider selected="true" editor-type-id="text-editor"> |
589 | <state relative-caret-position="377"> | 633 | <state relative-caret-position="377"> |
590 | - <caret line="38" column="2" lean-forward="false" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> | 634 | + <caret line="38" column="2" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> |
591 | </state> | 635 | </state> |
592 | </provider> | 636 | </provider> |
593 | </entry> | 637 | </entry> |
594 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 638 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
595 | <provider selected="true" editor-type-id="text-editor"> | 639 | <provider selected="true" editor-type-id="text-editor"> |
596 | <state relative-caret-position="432"> | 640 | <state relative-caret-position="432"> |
597 | - <caret line="16" column="16" lean-forward="false" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> | ||
598 | - <folding /> | 641 | + <caret line="16" column="16" selection-start-line="16" selection-start-column="16" selection-end-line="16" selection-end-column="16" /> |
599 | </state> | 642 | </state> |
600 | </provider> | 643 | </provider> |
601 | </entry> | 644 | </entry> |
602 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/src/data/date_format.dart"> | 645 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/src/data/date_format.dart"> |
603 | <provider selected="true" editor-type-id="text-editor"> | 646 | <provider selected="true" editor-type-id="text-editor"> |
604 | - <state relative-caret-position="0"> | ||
605 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
606 | - </state> | 647 | + <state /> |
607 | </provider> | 648 | </provider> |
608 | </entry> | 649 | </entry> |
609 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/src/data/cu_constant.dart"> | 650 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/src/data/cu_constant.dart"> |
610 | <provider selected="true" editor-type-id="text-editor"> | 651 | <provider selected="true" editor-type-id="text-editor"> |
611 | - <state relative-caret-position="0"> | ||
612 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
613 | - </state> | 652 | + <state /> |
614 | </provider> | 653 | </provider> |
615 | </entry> | 654 | </entry> |
616 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/common_utils.dart"> | 655 | <entry file="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/common_utils-1.0.2/lib/common_utils.dart"> |
617 | <provider selected="true" editor-type-id="text-editor"> | 656 | <provider selected="true" editor-type-id="text-editor"> |
618 | <state relative-caret-position="27"> | 657 | <state relative-caret-position="27"> |
619 | - <caret line="1" column="0" lean-forward="true" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" /> | 658 | + <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" /> |
620 | </state> | 659 | </state> |
621 | </provider> | 660 | </provider> |
622 | </entry> | 661 | </entry> |
@@ -627,20 +666,10 @@ | @@ -627,20 +666,10 @@ | ||
627 | </state> | 666 | </state> |
628 | </provider> | 667 | </provider> |
629 | </entry> | 668 | </entry> |
630 | - <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart"> | ||
631 | - <provider selected="true" editor-type-id="text-editor"> | ||
632 | - <state relative-caret-position="54"> | ||
633 | - <caret line="5" column="39" lean-forward="true" selection-start-line="5" selection-start-column="39" selection-end-line="5" selection-end-column="39" /> | ||
634 | - <folding> | ||
635 | - <element signature="e#0#1862#0" expanded="true" /> | ||
636 | - </folding> | ||
637 | - </state> | ||
638 | - </provider> | ||
639 | - </entry> | ||
640 | <entry file="file://D:/flutter/packages/flutter/lib/src/material/app.dart"> | 669 | <entry file="file://D:/flutter/packages/flutter/lib/src/material/app.dart"> |
641 | <provider selected="true" editor-type-id="text-editor"> | 670 | <provider selected="true" editor-type-id="text-editor"> |
642 | <state relative-caret-position="196"> | 671 | <state relative-caret-position="196"> |
643 | - <caret line="81" column="2" lean-forward="false" selection-start-line="81" selection-start-column="2" selection-end-line="81" selection-end-column="2" /> | 672 | + <caret line="81" column="2" selection-start-line="81" selection-start-column="2" selection-end-line="81" selection-end-column="2" /> |
644 | </state> | 673 | </state> |
645 | </provider> | 674 | </provider> |
646 | </entry> | 675 | </entry> |
@@ -654,7 +683,7 @@ | @@ -654,7 +683,7 @@ | ||
654 | <entry file="file://D:/flutter/packages/flutter/lib/src/widgets/media_query.dart"> | 683 | <entry file="file://D:/flutter/packages/flutter/lib/src/widgets/media_query.dart"> |
655 | <provider selected="true" editor-type-id="text-editor"> | 684 | <provider selected="true" editor-type-id="text-editor"> |
656 | <state relative-caret-position="250"> | 685 | <state relative-caret-position="250"> |
657 | - <caret line="61" column="88" lean-forward="false" selection-start-line="61" selection-start-column="72" selection-end-line="61" selection-end-column="88" /> | 686 | + <caret line="61" column="88" selection-start-line="61" selection-start-column="72" selection-end-line="61" selection-end-column="88" /> |
658 | </state> | 687 | </state> |
659 | </provider> | 688 | </provider> |
660 | </entry> | 689 | </entry> |
@@ -668,36 +697,42 @@ | @@ -668,36 +697,42 @@ | ||
668 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 697 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
669 | <provider selected="true" editor-type-id="text-editor"> | 698 | <provider selected="true" editor-type-id="text-editor"> |
670 | <state relative-caret-position="1809"> | 699 | <state relative-caret-position="1809"> |
671 | - <caret line="70" column="26" lean-forward="false" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> | ||
672 | - <folding> | ||
673 | - <element signature="e#0#1813#0" expanded="true" /> | ||
674 | - </folding> | 700 | + <caret line="70" column="26" selection-start-line="70" selection-start-column="26" selection-end-line="70" selection-end-column="26" /> |
675 | </state> | 701 | </state> |
676 | </provider> | 702 | </provider> |
677 | </entry> | 703 | </entry> |
678 | - <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 704 | + <entry file="file://$PROJECT_DIR$/pubspec.yaml"> |
679 | <provider selected="true" editor-type-id="text-editor"> | 705 | <provider selected="true" editor-type-id="text-editor"> |
680 | - <state relative-caret-position="1107"> | ||
681 | - <caret line="41" column="47" lean-forward="false" selection-start-line="41" selection-start-column="47" selection-end-line="41" selection-end-column="47" /> | ||
682 | - <folding> | ||
683 | - <element signature="e#0#39#0" expanded="true" /> | ||
684 | - </folding> | 706 | + <state relative-caret-position="270"> |
707 | + <caret line="10" column="10" lean-forward="true" selection-start-line="10" selection-start-column="10" selection-end-line="10" selection-end-column="10" /> | ||
685 | </state> | 708 | </state> |
686 | </provider> | 709 | </provider> |
687 | </entry> | 710 | </entry> |
688 | <entry file="file://$PROJECT_DIR$/README.md"> | 711 | <entry file="file://$PROJECT_DIR$/README.md"> |
689 | <provider selected="true" editor-type-id="text-editor"> | 712 | <provider selected="true" editor-type-id="text-editor"> |
690 | - <state relative-caret-position="488"> | ||
691 | - <caret line="120" column="6" lean-forward="false" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
692 | - <folding /> | 713 | + <state relative-caret-position="3240"> |
714 | + <caret line="120" column="6" selection-start-line="120" selection-start-column="6" selection-end-line="120" selection-end-column="6" /> | ||
693 | </state> | 715 | </state> |
694 | </provider> | 716 | </provider> |
695 | </entry> | 717 | </entry> |
696 | - <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | 718 | + <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart"> |
697 | <provider selected="true" editor-type-id="text-editor"> | 719 | <provider selected="true" editor-type-id="text-editor"> |
698 | - <state relative-caret-position="108"> | ||
699 | - <caret line="4" column="58" lean-forward="true" selection-start-line="4" selection-start-column="58" selection-end-line="4" selection-end-column="58" /> | ||
700 | - <folding /> | 720 | + <state relative-caret-position="54"> |
721 | + <caret line="5" column="39" selection-start-line="5" selection-start-column="39" selection-end-line="5" selection-end-column="39" /> | ||
722 | + </state> | ||
723 | + </provider> | ||
724 | + </entry> | ||
725 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
726 | + <provider selected="true" editor-type-id="text-editor"> | ||
727 | + <state relative-caret-position="130"> | ||
728 | + <caret line="52" selection-start-line="52" selection-end-line="52" /> | ||
729 | + </state> | ||
730 | + </provider> | ||
731 | + </entry> | ||
732 | + <entry file="file://$PROJECT_DIR$/README-EN.md"> | ||
733 | + <provider selected="true" editor-type-id="text-editor"> | ||
734 | + <state relative-caret-position="332"> | ||
735 | + <caret line="131" lean-forward="true" selection-start-line="131" selection-end-line="131" /> | ||
701 | </state> | 736 | </state> |
702 | </provider> | 737 | </provider> |
703 | </entry> | 738 | </entry> |
README-EN.md
0 → 100644
1 | + | ||
2 | +# flutter_ScreenUtil | ||
3 | +**flutter Screen adaptation scheme** | ||
4 | + | ||
5 | +github: https://github.com/OpenFlutter/flutter_ScreenUtil </br> | ||
6 | +csdn博客工具介绍:https://blog.csdn.net/u011272795/article/details/82795477 | ||
7 | + | ||
8 | + | ||
9 | +## Usege: | ||
10 | + | ||
11 | +### Add dependency: | ||
12 | +``` | ||
13 | +dependencies: | ||
14 | + flutter: | ||
15 | + sdk: flutter | ||
16 | + # add flutter_ScreenUtil | ||
17 | + flutter_screenutil: | ||
18 | + git: | ||
19 | + url: git://github.com/openflutter/flutter_screenutil | ||
20 | +``` | ||
21 | + | ||
22 | +### Add the following imports to your Dart code: | ||
23 | +``` | ||
24 | +import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
25 | +``` | ||
26 | + | ||
27 | +### Initialize the setup size | ||
28 | +Please set the width and height of the design draft before use, the width and height of the design draft (unit px). | ||
29 | +If not set, the default size is used. The default is 1080*1920. | ||
30 | +Be sure to set the page in the MaterialApp's home to ensure that the fit size is set before each use: | ||
31 | + | ||
32 | +``` | ||
33 | +//Set the fit size (fill in the screen size of the device in the design) | ||
34 | +//If the design is based on the size of the iPhone6 (iPhone6 750*1334) | ||
35 | +ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context); | ||
36 | +``` | ||
37 | + | ||
38 | +### Use: | ||
39 | + | ||
40 | +Fit size: | ||
41 | +``` | ||
42 | +Pass the px size of the design draft: | ||
43 | + | ||
44 | +Width after adaptation: ScreenUtil().setWidth(540), | ||
45 | +Height after adaptation: ScreenUtil().setHeight(200), | ||
46 | + | ||
47 | +//for example: | ||
48 | +Container( | ||
49 | + width: ScreenUtil().setWidth(375), | ||
50 | + height: ScreenUtil().setHeight(200), | ||
51 | + ... | ||
52 | + ), | ||
53 | +``` | ||
54 | + | ||
55 | +Other related apis: | ||
56 | +``` | ||
57 | + ScreenUtil.pixelRatio //Device pixel density | ||
58 | + ScreenUtil.screenWidth //Device width | ||
59 | + ScreenUtil.screenHeight //Device height | ||
60 | + ScreenUtil.bottomBarHeight //Bottom safe zone distance, suitable for buttons with full screen | ||
61 | + ScreenUtil.statusBarHeight //Status bar height , Notch will be higher Unit px | ||
62 | + | ||
63 | + ScreenUtil().scaleWidth //The width is enlarged relative to the design draft | ||
64 | + ScreenUtil().scaleHeight //Height relative to the magnification of the design draft | ||
65 | + | ||
66 | +``` | ||
67 | + | ||
68 | +``` | ||
69 | +//导入 | ||
70 | +import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
71 | + | ||
72 | +... | ||
73 | + | ||
74 | + @override | ||
75 | + Widget build(BuildContext context) { | ||
76 | + //Set the fit size (fill in the screen size of the device in the design) If the design is based on the size of the iPhone6 (iPhone6 750*1334) | ||
77 | + ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context); | ||
78 | + print('Device width:${ScreenUtil.screenWidth}'); //Device width | ||
79 | + print('Device height:${ScreenUtil.screenHeight}'); //Device height | ||
80 | + print('Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density | ||
81 | + print('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}'); //Bottom safe zone distance,suitable for buttons with full screen | ||
82 | + print('Status bar height:${ScreenUtil.statusBarHeight}px'); //Status bar height , Notch will be higher Unit px | ||
83 | + print('The width is enlarged relative to the design draft:${ScreenUtil().scaleWidth}'); //The width is enlarged relative to the design draft | ||
84 | + print('Height relative to the magnification of the design draft:${ScreenUtil().scaleHeight}'); //Height relative to the magnification of the design draft | ||
85 | + | ||
86 | + return new Scaffold( | ||
87 | + appBar: new AppBar( | ||
88 | + title: new Text(widget.title), | ||
89 | + ), | ||
90 | + body: new Center( | ||
91 | + child: Column( | ||
92 | + children: <Widget>[ | ||
93 | + Row( | ||
94 | + children: <Widget>[ | ||
95 | + Container( | ||
96 | + width: ScreenUtil().setWidth(375), | ||
97 | + height: ScreenUtil().setHeight(200), | ||
98 | + color: Colors.red, | ||
99 | + child: Text( | ||
100 | + 'My width:${ScreenUtil().setWidth(375)}dp', | ||
101 | + style: TextStyle(color: Colors.white), | ||
102 | + ), | ||
103 | + ), | ||
104 | + Container( | ||
105 | + width: ScreenUtil().setWidth(375), | ||
106 | + height: ScreenUtil().setHeight(200), | ||
107 | + color: Colors.blue, | ||
108 | + child: Text('My width:${ScreenUtil().setWidth(375)}dp', | ||
109 | + style: TextStyle(color: Colors.white)), | ||
110 | + ), | ||
111 | + ], | ||
112 | + ), | ||
113 | + Text('Device width:${ScreenUtil.screenWidth}px'), | ||
114 | + Text('Device height:${ScreenUtil.screenHeight}px'), | ||
115 | + Text('Device pixel density:${ScreenUtil.pixelRatio}'), | ||
116 | + Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), | ||
117 | + Text('Status bar height:${ScreenUtil.statusBarHeight}px'), | ||
118 | + Text('The width is enlarged relative to the design draft:${ScreenUtil().scaleWidth}'), | ||
119 | + Text('Height relative to the magnification of the design draft:${ScreenUtil().scaleHeight}'), | ||
120 | + ], | ||
121 | + ), | ||
122 | + ), | ||
123 | + ); | ||
124 | + } | ||
125 | +``` | ||
126 | + | ||
127 | +### example: | ||
128 | + | ||
129 | +[example demo](/example) | ||
130 | + | ||
131 | +effect: | ||
132 | + | ||
133 | + | ||
134 | + |
effect.png
0 → 100644

93.7 KB
1 | <component name="libraryTable"> | 1 | <component name="libraryTable"> |
2 | <library name="Dart SDK"> | 2 | <library name="Dart SDK"> |
3 | <CLASSES> | 3 | <CLASSES> |
4 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/async" /> | ||
5 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/collection" /> | ||
6 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/convert" /> | ||
7 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/core" /> | ||
8 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/developer" /> | ||
9 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/html" /> | ||
10 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/io" /> | ||
11 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/isolate" /> | ||
12 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/math" /> | ||
13 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/mirrors" /> | ||
14 | - <root url="file://D:\flutter/bin/cache/dart-sdk/lib/typed_data" /> | 4 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/async" /> |
5 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/collection" /> | ||
6 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/convert" /> | ||
7 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/core" /> | ||
8 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/developer" /> | ||
9 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/html" /> | ||
10 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/io" /> | ||
11 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/isolate" /> | ||
12 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/math" /> | ||
13 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/mirrors" /> | ||
14 | + <root url="file://D:/flutter/bin/cache/dart-sdk/lib/typed_data" /> | ||
15 | </CLASSES> | 15 | </CLASSES> |
16 | <JAVADOC /> | 16 | <JAVADOC /> |
17 | <SOURCES /> | 17 | <SOURCES /> |
1 | <component name="libraryTable"> | 1 | <component name="libraryTable"> |
2 | <library name="Flutter for Android"> | 2 | <library name="Flutter for Android"> |
3 | <CLASSES> | 3 | <CLASSES> |
4 | - <root url="jar://D:\flutter/bin/cache/artifacts/engine/android-arm/flutter.jar!/" /> | 4 | + <root url="jar://D:/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar!/" /> |
5 | </CLASSES> | 5 | </CLASSES> |
6 | <JAVADOC /> | 6 | <JAVADOC /> |
7 | <SOURCES /> | 7 | <SOURCES /> |
8 | </library> | 8 | </library> |
9 | -</component> | 9 | +</component> |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project version="4"> | 2 | <project version="4"> |
3 | + <component name="CMakeSettings"> | ||
4 | + <configurations> | ||
5 | + <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" /> | ||
6 | + </configurations> | ||
7 | + </component> | ||
8 | + <component name="ChangeListManager"> | ||
9 | + <list default="true" id="26c93727-542e-40b3-8d87-0922eb0a34a4" name="Default" comment="" /> | ||
10 | + <ignored path="$PROJECT_DIR$/.dart_tool/" /> | ||
11 | + <ignored path="$PROJECT_DIR$/.pub/" /> | ||
12 | + <ignored path="$PROJECT_DIR$/build/" /> | ||
13 | + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | ||
14 | + <option name="TRACKING_ENABLED" value="true" /> | ||
15 | + <option name="SHOW_DIALOG" value="false" /> | ||
16 | + <option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||
17 | + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | ||
18 | + <option name="LAST_RESOLUTION" value="IGNORE" /> | ||
19 | + </component> | ||
3 | <component name="FileEditorManager"> | 20 | <component name="FileEditorManager"> |
4 | - <leaf> | 21 | + <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> |
5 | <file leaf-file-name="main.dart" pinned="false" current-in-tab="true"> | 22 | <file leaf-file-name="main.dart" pinned="false" current-in-tab="true"> |
6 | <entry file="file://$PROJECT_DIR$/lib/main.dart"> | 23 | <entry file="file://$PROJECT_DIR$/lib/main.dart"> |
7 | <provider selected="true" editor-type-id="text-editor"> | 24 | <provider selected="true" editor-type-id="text-editor"> |
8 | - <state relative-caret-position="0"> | ||
9 | - <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | 25 | + <state relative-caret-position="162"> |
26 | + <caret line="6" column="49" lean-forward="true" selection-start-line="6" selection-start-column="49" selection-end-line="6" selection-end-column="49" /> | ||
10 | </state> | 27 | </state> |
11 | </provider> | 28 | </provider> |
12 | </entry> | 29 | </entry> |
13 | </file> | 30 | </file> |
14 | </leaf> | 31 | </leaf> |
15 | </component> | 32 | </component> |
16 | - <component name="ToolWindowManager"> | ||
17 | - <editor active="true" /> | ||
18 | - <layout> | ||
19 | - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> | ||
20 | - </layout> | 33 | + <component name="ProjectFrameBounds" extendedState="6"> |
34 | + <option name="x" value="-8" /> | ||
35 | + <option name="width" value="1936" /> | ||
36 | + <option name="height" value="1056" /> | ||
21 | </component> | 37 | </component> |
22 | <component name="ProjectView"> | 38 | <component name="ProjectView"> |
23 | <navigator currentView="ProjectPane" proportions="" version="1"> | 39 | <navigator currentView="ProjectPane" proportions="" version="1"> |
40 | + <foldersAlwaysOnTop value="true" /> | ||
24 | </navigator> | 41 | </navigator> |
25 | <panes> | 42 | <panes> |
43 | + <pane id="Scope" /> | ||
26 | <pane id="ProjectPane"> | 44 | <pane id="ProjectPane"> |
27 | <option name="show-excluded-files" value="false" /> | 45 | <option name="show-excluded-files" value="false" /> |
28 | </pane> | 46 | </pane> |
47 | + <pane id="PackagesPane" /> | ||
48 | + <pane id="AndroidView" /> | ||
29 | </panes> | 49 | </panes> |
30 | </component> | 50 | </component> |
31 | <component name="PropertiesComponent"> | 51 | <component name="PropertiesComponent"> |
32 | - <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||
33 | <property name="dart.analysis.tool.window.force.activate" value="true" /> | 52 | <property name="dart.analysis.tool.window.force.activate" value="true" /> |
53 | + <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||
34 | <property name="show.migrate.to.gradle.popup" value="false" /> | 54 | <property name="show.migrate.to.gradle.popup" value="false" /> |
35 | </component> | 55 | </component> |
36 | -</project> | 56 | + <component name="RunDashboard"> |
57 | + <option name="ruleStates"> | ||
58 | + <list> | ||
59 | + <RuleState> | ||
60 | + <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> | ||
61 | + </RuleState> | ||
62 | + <RuleState> | ||
63 | + <option name="name" value="StatusDashboardGroupingRule" /> | ||
64 | + </RuleState> | ||
65 | + </list> | ||
66 | + </option> | ||
67 | + </component> | ||
68 | + <component name="RunManager"> | ||
69 | + <configuration default="true" type="AndroidJUnit" factoryName="Android JUnit"> | ||
70 | + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | ||
71 | + <option name="ALTERNATIVE_JRE_PATH" /> | ||
72 | + <option name="PACKAGE_NAME" /> | ||
73 | + <option name="MAIN_CLASS_NAME" /> | ||
74 | + <option name="METHOD_NAME" /> | ||
75 | + <option name="TEST_OBJECT" value="class" /> | ||
76 | + <option name="VM_PARAMETERS" value="-ea" /> | ||
77 | + <option name="PARAMETERS" /> | ||
78 | + <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" /> | ||
79 | + <option name="PASS_PARENT_ENVS" value="true" /> | ||
80 | + <option name="TEST_SEARCH_SCOPE"> | ||
81 | + <value defaultName="singleModule" /> | ||
82 | + </option> | ||
83 | + <patterns /> | ||
84 | + </configuration> | ||
85 | + <configuration default="true" type="Application" factoryName="Application"> | ||
86 | + <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | ||
87 | + </configuration> | ||
88 | + <configuration default="true" type="TestNG" factoryName="TestNG"> | ||
89 | + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | ||
90 | + <option name="ALTERNATIVE_JRE_PATH" /> | ||
91 | + <option name="SUITE_NAME" /> | ||
92 | + <option name="PACKAGE_NAME" /> | ||
93 | + <option name="MAIN_CLASS_NAME" /> | ||
94 | + <option name="METHOD_NAME" /> | ||
95 | + <option name="GROUP_NAME" /> | ||
96 | + <option name="TEST_OBJECT" value="CLASS" /> | ||
97 | + <option name="VM_PARAMETERS" value="-ea" /> | ||
98 | + <option name="PARAMETERS" /> | ||
99 | + <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" /> | ||
100 | + <option name="OUTPUT_DIRECTORY" /> | ||
101 | + <option name="PASS_PARENT_ENVS" value="true" /> | ||
102 | + <option name="TEST_SEARCH_SCOPE"> | ||
103 | + <value defaultName="singleModule" /> | ||
104 | + </option> | ||
105 | + <option name="USE_DEFAULT_REPORTERS" value="false" /> | ||
106 | + <option name="PROPERTIES_FILE" /> | ||
107 | + <properties /> | ||
108 | + <listeners /> | ||
109 | + </configuration> | ||
110 | + <configuration name="<template>" type="JUnit" default="true" selected="false"> | ||
111 | + <option name="VM_PARAMETERS" value="-ea" /> | ||
112 | + <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" /> | ||
113 | + </configuration> | ||
114 | + </component> | ||
115 | + <component name="SvnConfiguration"> | ||
116 | + <configuration /> | ||
117 | + </component> | ||
118 | + <component name="TaskManager"> | ||
119 | + <task active="true" id="Default" summary="Default task"> | ||
120 | + <changelist id="26c93727-542e-40b3-8d87-0922eb0a34a4" name="Default" comment="" /> | ||
121 | + <created>1538276014672</created> | ||
122 | + <option name="number" value="Default" /> | ||
123 | + <option name="presentableId" value="Default" /> | ||
124 | + <updated>1538276014672</updated> | ||
125 | + </task> | ||
126 | + <servers /> | ||
127 | + </component> | ||
128 | + <component name="ToolWindowManager"> | ||
129 | + <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> | ||
130 | + <editor active="true" /> | ||
131 | + <layout> | ||
132 | + <window_info anchor="bottom" id="Android Profiler" show_stripe_button="false" /> | ||
133 | + <window_info anchor="bottom" id="TODO" order="6" /> | ||
134 | + <window_info anchor="right" id="Palette	" /> | ||
135 | + <window_info id="Image Layers" /> | ||
136 | + <window_info id="Build Variants" side_tool="true" /> | ||
137 | + <window_info anchor="right" id="Capture Analysis" /> | ||
138 | + <window_info anchor="bottom" id="Event Log" side_tool="true" /> | ||
139 | + <window_info anchor="bottom" id="Run" order="2" /> | ||
140 | + <window_info anchor="bottom" id="Version Control" show_stripe_button="false" /> | ||
141 | + <window_info anchor="bottom" id="Terminal" /> | ||
142 | + <window_info anchor="bottom" id="Logcat" /> | ||
143 | + <window_info id="Captures" /> | ||
144 | + <window_info id="Capture Tool" /> | ||
145 | + <window_info id="Designer" /> | ||
146 | + <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25" /> | ||
147 | + <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> | ||
148 | + <window_info anchor="right" id="Fabric" /> | ||
149 | + <window_info anchor="right" id="Device File Explorer" side_tool="true" /> | ||
150 | + <window_info anchor="right" id="Theme Preview" /> | ||
151 | + <window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> | ||
152 | + <window_info id="Favorites" side_tool="true" /> | ||
153 | + <window_info anchor="bottom" id="Find" order="1" /> | ||
154 | + <window_info anchor="right" id="Commander" order="0" weight="0.4" /> | ||
155 | + <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> | ||
156 | + <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> | ||
157 | + <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> | ||
158 | + <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> | ||
159 | + <window_info anchor="bottom" id="Message" order="0" /> | ||
160 | + </layout> | ||
161 | + </component> | ||
162 | + <component name="VcsContentAnnotationSettings"> | ||
163 | + <option name="myLimit" value="2678400000" /> | ||
164 | + </component> | ||
165 | + <component name="editorHistoryManager"> | ||
166 | + <entry file="file://$PROJECT_DIR$/lib/main.dart"> | ||
167 | + <provider selected="true" editor-type-id="text-editor"> | ||
168 | + <state relative-caret-position="162"> | ||
169 | + <caret line="6" column="49" lean-forward="true" selection-start-line="6" selection-start-column="49" selection-end-line="6" selection-end-column="49" /> | ||
170 | + </state> | ||
171 | + </provider> | ||
172 | + </entry> | ||
173 | + </component> | ||
174 | +</project> |
@@ -59,7 +59,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -59,7 +59,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
59 | height: ScreenUtil().setHeight(200), | 59 | height: ScreenUtil().setHeight(200), |
60 | color: Colors.red, | 60 | color: Colors.red, |
61 | child: Text( | 61 | child: Text( |
62 | - '我的宽度${ScreenUtil().setWidth(375)}dp', | 62 | + 'My width:${ScreenUtil().setWidth(375)}dp', |
63 | style: TextStyle(color: Colors.white), | 63 | style: TextStyle(color: Colors.white), |
64 | ), | 64 | ), |
65 | ), | 65 | ), |
@@ -67,17 +67,24 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -67,17 +67,24 @@ class _MyHomePageState extends State<MyHomePage> { | ||
67 | width: ScreenUtil().setWidth(375), | 67 | width: ScreenUtil().setWidth(375), |
68 | height: ScreenUtil().setHeight(200), | 68 | height: ScreenUtil().setHeight(200), |
69 | color: Colors.blue, | 69 | color: Colors.blue, |
70 | - child: Text('我的宽度${ScreenUtil().setWidth(375)}dp', | 70 | + child: Text('My width:${ScreenUtil().setWidth(375)}dp', |
71 | style: TextStyle(color: Colors.white)), | 71 | style: TextStyle(color: Colors.white)), |
72 | ), | 72 | ), |
73 | ], | 73 | ], |
74 | ), | 74 | ), |
75 | - Text('设备的屏幕宽度:${ScreenUtil.screenWidth}px'), | ||
76 | - Text('设备的屏幕高度:${ScreenUtil.screenHeight}px'), | ||
77 | - Text('设备的像素密度:${ScreenUtil.pixelRatio}'), | ||
78 | - Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), | ||
79 | - Text('状态栏高度:${ScreenUtil.statusBarHeight}px'), | 75 | + Text('Device width:${ScreenUtil.screenWidth}px'), |
76 | + Text('Device height:${ScreenUtil.screenHeight}px'), | ||
77 | + Text('Device pixel density:${ScreenUtil.pixelRatio}'), | ||
78 | + Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), | ||
79 | + Text('Status bar height:${ScreenUtil.statusBarHeight}px'), | ||
80 | + Text( | ||
81 | + 'Width is enlarged relative to the design draft:${ScreenUtil().scaleWidth}', | ||
82 | + style: TextStyle(), | ||
83 | + ), | ||
84 | + Text( | ||
85 | + 'Height is enlarged relative to the design draft:${ScreenUtil().scaleHeight}'), | ||
80 | ], | 86 | ], |
87 | + crossAxisAlignment: CrossAxisAlignment.center, | ||
81 | ), | 88 | ), |
82 | ), | 89 | ), |
83 | ); | 90 | ); |
-
Please register or login to post a comment