Showing
2 changed files
with
123 additions
and
143 deletions
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="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | - <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment="添加示例"> | ||
5 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.gitignore" /> | ||
6 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.idea/libraries/Dart_SDK.xml" /> | ||
7 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.idea/libraries/Flutter_for_Android.xml" /> | ||
8 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.idea/modules.xml" /> | ||
9 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.idea/runConfigurations/main_dart.xml" /> | ||
10 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.idea/workspace.xml" /> | ||
11 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/.metadata" /> | ||
12 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/README.md" /> | ||
13 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/.gitignore" /> | ||
14 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/build.gradle" /> | ||
15 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml" /> | ||
16 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/java/li/zhuoyuan/example/MainActivity.java" /> | ||
17 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/drawable/launch_background.xml" /> | ||
18 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png" /> | ||
19 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png" /> | ||
20 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png" /> | ||
21 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png" /> | ||
22 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" /> | ||
23 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/app/src/main/res/values/styles.xml" /> | ||
24 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/build.gradle" /> | ||
25 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/gradle.properties" /> | ||
26 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/gradle/wrapper/gradle-wrapper.jar" /> | ||
27 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/gradle/wrapper/gradle-wrapper.properties" /> | ||
28 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/gradlew" /> | ||
29 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/gradlew.bat" /> | ||
30 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/android/settings.gradle" /> | ||
31 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/example_android.iml" /> | ||
32 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/.gitignore" /> | ||
33 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Flutter/AppFrameworkInfo.plist" /> | ||
34 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Flutter/Debug.xcconfig" /> | ||
35 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Flutter/Release.xcconfig" /> | ||
36 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner.xcodeproj/project.pbxproj" /> | ||
37 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata" /> | ||
38 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme" /> | ||
39 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner.xcworkspace/contents.xcworkspacedata" /> | ||
40 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/AppDelegate.h" /> | ||
41 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/AppDelegate.m" /> | ||
42 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json" /> | ||
43 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png" /> | ||
44 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png" /> | ||
45 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png" /> | ||
46 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png" /> | ||
47 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png" /> | ||
48 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png" /> | ||
49 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png" /> | ||
50 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png" /> | ||
51 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png" /> | ||
52 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png" /> | ||
53 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png" /> | ||
54 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png" /> | ||
55 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png" /> | ||
56 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png" /> | ||
57 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png" /> | ||
58 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json" /> | ||
59 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png" /> | ||
60 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png" /> | ||
61 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png" /> | ||
62 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md" /> | ||
63 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Base.lproj/LaunchScreen.storyboard" /> | ||
64 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Base.lproj/Main.storyboard" /> | ||
65 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/Info.plist" /> | ||
66 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/ios/Runner/main.m" /> | ||
67 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/lib/main.dart" /> | ||
68 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/pubspec.lock" /> | ||
69 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/pubspec.yaml" /> | ||
70 | - <change beforePath="" afterPath="$PROJECT_DIR$/example/test/widget_test.dart" /> | 4 | + <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment=""> |
71 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> | 5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> |
6 | + <change beforePath="$PROJECT_DIR$/example/lib/main.dart" afterPath="$PROJECT_DIR$/example/lib/main.dart" /> | ||
72 | </list> | 7 | </list> |
73 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | 8 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> |
74 | <option name="TRACKING_ENABLED" value="true" /> | 9 | <option name="TRACKING_ENABLED" value="true" /> |
@@ -89,11 +24,11 @@ | @@ -89,11 +24,11 @@ | ||
89 | </provider> | 24 | </provider> |
90 | </entry> | 25 | </entry> |
91 | </file> | 26 | </file> |
92 | - <file leaf-file-name="main.dart" pinned="false" current-in-tab="false"> | 27 | + <file leaf-file-name="main.dart" pinned="false" current-in-tab="true"> |
93 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 28 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
94 | <provider selected="true" editor-type-id="text-editor"> | 29 | <provider selected="true" editor-type-id="text-editor"> |
95 | - <state relative-caret-position="216"> | ||
96 | - <caret line="35" column="22" lean-forward="true" selection-start-line="35" selection-start-column="22" selection-end-line="35" selection-end-column="22" /> | 30 | + <state relative-caret-position="432"> |
31 | + <caret line="78" column="26" lean-forward="true" selection-start-line="78" selection-start-column="26" selection-end-line="78" selection-end-column="26" /> | ||
97 | <folding> | 32 | <folding> |
98 | <element signature="e#0#39#0" expanded="true" /> | 33 | <element signature="e#0#39#0" expanded="true" /> |
99 | </folding> | 34 | </folding> |
@@ -101,20 +36,10 @@ | @@ -101,20 +36,10 @@ | ||
101 | </provider> | 36 | </provider> |
102 | </entry> | 37 | </entry> |
103 | </file> | 38 | </file> |
104 | - <file leaf-file-name="AndroidManifest.xml" pinned="false" current-in-tab="true"> | ||
105 | - <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | ||
106 | - <provider selected="true" editor-type-id="text-editor"> | ||
107 | - <state relative-caret-position="0"> | ||
108 | - <caret line="0" column="25" lean-forward="false" selection-start-line="0" selection-start-column="25" selection-end-line="0" selection-end-column="25" /> | ||
109 | - <folding /> | ||
110 | - </state> | ||
111 | - </provider> | ||
112 | - </entry> | ||
113 | - </file> | ||
114 | <file leaf-file-name="pubspec.yaml" pinned="false" current-in-tab="false"> | 39 | <file leaf-file-name="pubspec.yaml" pinned="false" current-in-tab="false"> |
115 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 40 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
116 | <provider selected="true" editor-type-id="text-editor"> | 41 | <provider selected="true" editor-type-id="text-editor"> |
117 | - <state relative-caret-position="376"> | 42 | + <state relative-caret-position="621"> |
118 | <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | 43 | <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> |
119 | <folding /> | 44 | <folding /> |
120 | </state> | 45 | </state> |
@@ -135,8 +60,8 @@ | @@ -135,8 +60,8 @@ | ||
135 | <option name="CHANGED_PATHS"> | 60 | <option name="CHANGED_PATHS"> |
136 | <list> | 61 | <list> |
137 | <option value="$PROJECT_DIR$/example/pubspec.yaml" /> | 62 | <option value="$PROJECT_DIR$/example/pubspec.yaml" /> |
138 | - <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
139 | <option value="$PROJECT_DIR$/README.md" /> | 63 | <option value="$PROJECT_DIR$/README.md" /> |
64 | + <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
140 | </list> | 65 | </list> |
141 | </option> | 66 | </option> |
142 | </component> | 67 | </component> |
@@ -163,9 +88,10 @@ | @@ -163,9 +88,10 @@ | ||
163 | <foldersAlwaysOnTop value="true" /> | 88 | <foldersAlwaysOnTop value="true" /> |
164 | </navigator> | 89 | </navigator> |
165 | <panes> | 90 | <panes> |
91 | + <pane id="AndroidView" /> | ||
92 | + <pane id="Scratches" /> | ||
166 | <pane id="Scope" /> | 93 | <pane id="Scope" /> |
167 | <pane id="PackagesPane" /> | 94 | <pane id="PackagesPane" /> |
168 | - <pane id="Scratches" /> | ||
169 | <pane id="ProjectPane"> | 95 | <pane id="ProjectPane"> |
170 | <subPane> | 96 | <subPane> |
171 | <expand> | 97 | <expand> |
@@ -197,7 +123,6 @@ | @@ -197,7 +123,6 @@ | ||
197 | <select /> | 123 | <select /> |
198 | </subPane> | 124 | </subPane> |
199 | </pane> | 125 | </pane> |
200 | - <pane id="AndroidView" /> | ||
201 | </panes> | 126 | </panes> |
202 | </component> | 127 | </component> |
203 | <component name="PropertiesComponent"> | 128 | <component name="PropertiesComponent"> |
@@ -339,63 +264,52 @@ | @@ -339,63 +264,52 @@ | ||
339 | <option name="project" value="LOCAL" /> | 264 | <option name="project" value="LOCAL" /> |
340 | <updated>1537771734341</updated> | 265 | <updated>1537771734341</updated> |
341 | </task> | 266 | </task> |
342 | - <option name="localTasksCounter" value="2" /> | 267 | + <task id="LOCAL-00002" summary="添加示例"> |
268 | + <created>1537772116311</created> | ||
269 | + <option name="number" value="00002" /> | ||
270 | + <option name="presentableId" value="LOCAL-00002" /> | ||
271 | + <option name="project" value="LOCAL" /> | ||
272 | + <updated>1537772116311</updated> | ||
273 | + </task> | ||
274 | + <option name="localTasksCounter" value="3" /> | ||
343 | <servers /> | 275 | <servers /> |
344 | </component> | 276 | </component> |
345 | <component name="ToolWindowManager"> | 277 | <component name="ToolWindowManager"> |
346 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> | 278 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> |
347 | <editor active="true" /> | 279 | <editor active="true" /> |
348 | <layout> | 280 | <layout> |
349 | - <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.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> | ||
350 | - <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="7" side_tool="false" content_ui="tabs" /> | ||
351 | - <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="3" side_tool="false" content_ui="tabs" /> | ||
352 | - <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="2" side_tool="false" content_ui="tabs" /> | ||
353 | - <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="2" side_tool="false" content_ui="tabs" /> | ||
354 | - <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" /> | ||
355 | - <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" /> | ||
356 | <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" /> | 281 | <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" /> |
357 | - <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.5" order="-1" side_tool="false" content_ui="tabs" /> | ||
358 | - <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="3" side_tool="false" content_ui="tabs" /> | ||
359 | - <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="2" side_tool="false" content_ui="tabs" /> | ||
360 | - <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="3" side_tool="false" content_ui="tabs" /> | ||
361 | - <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" /> | ||
362 | - <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.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
363 | - <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.5" order="7" side_tool="false" content_ui="tabs" /> | ||
364 | - <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" /> | ||
365 | - <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="-1" side_tool="false" content_ui="tabs" /> | ||
366 | - <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="3" side_tool="false" content_ui="tabs" /> | ||
367 | - <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="2" side_tool="true" content_ui="tabs" /> | ||
368 | - <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="3" side_tool="false" content_ui="tabs" /> | ||
369 | - <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" /> | ||
370 | - <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="-1" side_tool="false" content_ui="tabs" /> | ||
371 | - <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" /> | ||
372 | - <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" /> | ||
373 | - <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="-1" side_tool="true" content_ui="tabs" /> | 282 | + <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" /> |
283 | + <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" /> | ||
284 | + <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" /> | ||
374 | <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.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" /> | 285 | <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.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" /> |
375 | - <window_info id="Dart Analysis" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32936078" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | 286 | + <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" /> |
287 | + <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297062" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||
288 | + <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.32934782" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
289 | + <window_info id="Terminal" 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" /> | ||
376 | <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" /> | 290 | <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" /> |
377 | - <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="-1" side_tool="false" content_ui="tabs" /> | ||
378 | <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" /> | 291 | <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" /> |
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="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" /> | 292 | <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" /> |
293 | + <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" /> | ||
381 | <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" /> | 294 | <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" /> |
382 | - <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" /> | 295 | + <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" /> |
296 | + <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" /> | ||
383 | <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" /> | 297 | <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" /> |
384 | - <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="-1" side_tool="true" content_ui="tabs" /> | ||
385 | - <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" /> | ||
386 | - <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" /> | ||
387 | - <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" /> | ||
388 | - <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" /> | 298 | + <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" /> |
299 | + <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" /> | ||
300 | + <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" /> | ||
301 | + <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" /> | ||
302 | + <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" /> | ||
303 | + <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" /> | ||
304 | + <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" /> | ||
305 | + <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" /> | ||
306 | + <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" /> | ||
307 | + <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" /> | ||
308 | + <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" /> | ||
309 | + <window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297062" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
389 | <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" /> | 310 | <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" /> |
390 | - <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.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> | ||
391 | - <window_info id="Run" 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="2" side_tool="false" content_ui="tabs" /> | ||
392 | - <window_info id="Terminal" 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" /> | ||
393 | <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" /> | 311 | <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" /> |
394 | - <window_info id="Project" active="true" 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" /> | ||
395 | <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" /> | 312 | <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" /> |
396 | - <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" /> | ||
397 | - <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" /> | ||
398 | - <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" /> | ||
399 | </layout> | 313 | </layout> |
400 | </component> | 314 | </component> |
401 | <component name="VcsContentAnnotationSettings"> | 315 | <component name="VcsContentAnnotationSettings"> |
@@ -418,11 +332,69 @@ | @@ -418,11 +332,69 @@ | ||
418 | </state> | 332 | </state> |
419 | </provider> | 333 | </provider> |
420 | </entry> | 334 | </entry> |
335 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
336 | + <provider selected="true" editor-type-id="text-editor"> | ||
337 | + <state relative-caret-position="1188"> | ||
338 | + <caret line="44" column="3" lean-forward="true" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" /> | ||
339 | + <folding> | ||
340 | + <element signature="e#0#39#0" expanded="true" /> | ||
341 | + </folding> | ||
342 | + </state> | ||
343 | + </provider> | ||
344 | + </entry> | ||
345 | + <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | ||
346 | + <provider selected="true" editor-type-id="text-editor"> | ||
347 | + <state relative-caret-position="621"> | ||
348 | + <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | ||
349 | + <folding /> | ||
350 | + </state> | ||
351 | + </provider> | ||
352 | + </entry> | ||
353 | + <entry file="file://$PROJECT_DIR$/README.md"> | ||
354 | + <provider selected="true" editor-type-id="text-editor"> | ||
355 | + <state relative-caret-position="2160"> | ||
356 | + <caret line="80" column="16" lean-forward="true" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" /> | ||
357 | + <folding /> | ||
358 | + </state> | ||
359 | + </provider> | ||
360 | + </entry> | ||
361 | + <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | ||
362 | + <provider selected="true" editor-type-id="text-editor"> | ||
363 | + <state relative-caret-position="0"> | ||
364 | + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
365 | + <folding /> | ||
366 | + </state> | ||
367 | + </provider> | ||
368 | + </entry> | ||
369 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
370 | + <provider selected="true" editor-type-id="text-editor"> | ||
371 | + <state relative-caret-position="945"> | ||
372 | + <caret line="35" column="22" lean-forward="true" selection-start-line="35" selection-start-column="22" selection-end-line="35" selection-end-column="22" /> | ||
373 | + <folding> | ||
374 | + <element signature="e#0#39#0" expanded="true" /> | ||
375 | + </folding> | ||
376 | + </state> | ||
377 | + </provider> | ||
378 | + </entry> | ||
379 | + <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | ||
380 | + <provider selected="true" editor-type-id="text-editor"> | ||
381 | + <state relative-caret-position="1026"> | ||
382 | + <caret line="38" column="2" lean-forward="false" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> | ||
383 | + </state> | ||
384 | + </provider> | ||
385 | + </entry> | ||
386 | + <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | ||
387 | + <provider selected="true" editor-type-id="text-editor"> | ||
388 | + <state relative-caret-position="0"> | ||
389 | + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||
390 | + <folding /> | ||
391 | + </state> | ||
392 | + </provider> | ||
393 | + </entry> | ||
421 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | 394 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> |
422 | <provider selected="true" editor-type-id="text-editor"> | 395 | <provider selected="true" editor-type-id="text-editor"> |
423 | <state relative-caret-position="243"> | 396 | <state relative-caret-position="243"> |
424 | <caret line="9" column="13" lean-forward="false" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" /> | 397 | <caret line="9" column="13" lean-forward="false" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" /> |
425 | - <folding /> | ||
426 | </state> | 398 | </state> |
427 | </provider> | 399 | </provider> |
428 | </entry> | 400 | </entry> |
@@ -436,38 +408,37 @@ | @@ -436,38 +408,37 @@ | ||
436 | </entry> | 408 | </entry> |
437 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> | 409 | <entry file="file://$PROJECT_DIR$/example/pubspec.yaml"> |
438 | <provider selected="true" editor-type-id="text-editor"> | 410 | <provider selected="true" editor-type-id="text-editor"> |
439 | - <state relative-caret-position="376"> | 411 | + <state relative-caret-position="621"> |
440 | <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> | 412 | <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" /> |
441 | <folding /> | 413 | <folding /> |
442 | </state> | 414 | </state> |
443 | </provider> | 415 | </provider> |
444 | </entry> | 416 | </entry> |
417 | + <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | ||
418 | + <provider selected="true" editor-type-id="text-editor"> | ||
419 | + <state relative-caret-position="377"> | ||
420 | + <caret line="38" column="2" lean-forward="false" selection-start-line="38" selection-start-column="2" selection-end-line="38" selection-end-column="2" /> | ||
421 | + </state> | ||
422 | + </provider> | ||
423 | + </entry> | ||
445 | <entry file="file://$PROJECT_DIR$/README.md"> | 424 | <entry file="file://$PROJECT_DIR$/README.md"> |
446 | <provider selected="true" editor-type-id="text-editor"> | 425 | <provider selected="true" editor-type-id="text-editor"> |
447 | - <state relative-caret-position="54"> | ||
448 | - <caret line="80" column="24" lean-forward="false" selection-start-line="80" selection-start-column="24" selection-end-line="80" selection-end-column="24" /> | 426 | + <state relative-caret-position="297"> |
427 | + <caret line="80" column="16" lean-forward="false" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" /> | ||
449 | <folding /> | 428 | <folding /> |
450 | </state> | 429 | </state> |
451 | </provider> | 430 | </provider> |
452 | </entry> | 431 | </entry> |
453 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 432 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
454 | <provider selected="true" editor-type-id="text-editor"> | 433 | <provider selected="true" editor-type-id="text-editor"> |
455 | - <state relative-caret-position="216"> | ||
456 | - <caret line="35" column="22" lean-forward="true" selection-start-line="35" selection-start-column="22" selection-end-line="35" selection-end-column="22" /> | 434 | + <state relative-caret-position="432"> |
435 | + <caret line="78" column="26" lean-forward="true" selection-start-line="78" selection-start-column="26" selection-end-line="78" selection-end-column="26" /> | ||
457 | <folding> | 436 | <folding> |
458 | <element signature="e#0#39#0" expanded="true" /> | 437 | <element signature="e#0#39#0" expanded="true" /> |
459 | </folding> | 438 | </folding> |
460 | </state> | 439 | </state> |
461 | </provider> | 440 | </provider> |
462 | </entry> | 441 | </entry> |
463 | - <entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"> | ||
464 | - <provider selected="true" editor-type-id="text-editor"> | ||
465 | - <state relative-caret-position="0"> | ||
466 | - <caret line="0" column="25" lean-forward="false" selection-start-line="0" selection-start-column="25" selection-end-line="0" selection-end-column="25" /> | ||
467 | - <folding /> | ||
468 | - </state> | ||
469 | - </provider> | ||
470 | - </entry> | ||
471 | </component> | 442 | </component> |
472 | <component name="masterDetails"> | 443 | <component name="masterDetails"> |
473 | <states> | 444 | <states> |
@@ -59,18 +59,27 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -59,18 +59,27 @@ class _MyHomePageState extends State<MyHomePage> { | ||
59 | width: ScreenUtil().setWidth(375), | 59 | width: ScreenUtil().setWidth(375), |
60 | height: ScreenUtil().setHeight(200), | 60 | height: ScreenUtil().setHeight(200), |
61 | color: Colors.red, | 61 | color: Colors.red, |
62 | - child: Text(ScreenUtil().setWidth(375).toString()), | 62 | + child: Text( |
63 | + '我的宽度${ScreenUtil().setWidth(375)}dp', | ||
64 | + style: TextStyle(color: Colors.white), | ||
65 | + ), | ||
63 | ), | 66 | ), |
64 | Container( | 67 | Container( |
65 | width: ScreenUtil().setWidth(375), | 68 | width: ScreenUtil().setWidth(375), |
66 | height: ScreenUtil().setHeight(200), | 69 | height: ScreenUtil().setHeight(200), |
67 | color: Colors.blue, | 70 | color: Colors.blue, |
68 | - child: Text(ScreenUtil().setWidth(375).toString()), | 71 | + child: Text('我的宽度${ScreenUtil().setWidth(375)}dp', |
72 | + style: TextStyle(color: Colors.white)), | ||
69 | ), | 73 | ), |
70 | ], | 74 | ], |
71 | ), | 75 | ), |
72 | - Text(ScreenUtil.screenWidth.toString()), | ||
73 | - Text(ScreenUtil.screenHeight.toString()), | 76 | + Text('设备的屏幕宽度:${ScreenUtil.screenWidth}px'), |
77 | + Text('设备的屏幕高度:${ScreenUtil.screenHeight}px'), | ||
78 | + Text('设备的像素密度:${ScreenUtil.pixelRatio}'), | ||
79 | + Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), | ||
80 | + Text('状态栏高度:${ScreenUtil.statusBarHeight}px'), | ||
81 | + Text('宽度相对于设计稿放大的倍数:${ScreenUtil().scaleWidth}'), | ||
82 | + Text('高度相对于设计稿放大的倍数:${ScreenUtil().scaleHeight}'), | ||
74 | ], | 83 | ], |
75 | ), | 84 | ), |
76 | ), | 85 | ), |
-
Please register or login to post a comment