Showing
3 changed files
with
61 additions
and
53 deletions
| @@ -7,10 +7,7 @@ | @@ -7,10 +7,7 @@ | ||
| 7 | </component> | 7 | </component> |
| 8 | <component name="ChangeListManager"> | 8 | <component name="ChangeListManager"> |
| 9 | <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment=""> | 9 | <list default="true" id="4b1e7c8a-90e5-4705-b34f-bcaa595e12fe" name="Default" comment=""> |
| 10 | - <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | ||
| 11 | - <change beforePath="$PROJECT_DIR$/.packages" beforeDir="false" afterPath="$PROJECT_DIR$/.packages" afterDir="false" /> | ||
| 12 | - <change beforePath="$PROJECT_DIR$/LICENSE" beforeDir="false" afterPath="$PROJECT_DIR$/LICENSE" afterDir="false" /> | ||
| 13 | - <change beforePath="$PROJECT_DIR$/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/pubspec.yaml" afterDir="false" /> | 10 | + <change beforePath="$PROJECT_DIR$/example/lib/main.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/lib/main.dart" afterDir="false" /> |
| 14 | </list> | 11 | </list> |
| 15 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | 12 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> |
| 16 | <option name="TRACKING_ENABLED" value="true" /> | 13 | <option name="TRACKING_ENABLED" value="true" /> |
| @@ -21,11 +18,11 @@ | @@ -21,11 +18,11 @@ | ||
| 21 | </component> | 18 | </component> |
| 22 | <component name="FileEditorManager"> | 19 | <component name="FileEditorManager"> |
| 23 | <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> | 20 | <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> |
| 24 | - <file leaf-file-name="main.dart" pinned="false" current-in-tab="false"> | 21 | + <file leaf-file-name="main.dart" pinned="false" current-in-tab="true"> |
| 25 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 22 | <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> |
| 26 | <provider selected="true" editor-type-id="text-editor"> | 23 | <provider selected="true" editor-type-id="text-editor"> |
| 27 | - <state relative-caret-position="135"> | ||
| 28 | - <caret line="5" column="37" lean-forward="true" selection-start-line="5" selection-start-column="37" selection-end-line="5" selection-end-column="37" /> | 24 | + <state relative-caret-position="432"> |
| 25 | + <caret line="86" column="12" selection-start-line="86" selection-start-column="12" selection-end-line="86" selection-end-column="12" /> | ||
| 29 | <folding> | 26 | <folding> |
| 30 | <element signature="e#0#39#0" expanded="true" /> | 27 | <element signature="e#0#39#0" expanded="true" /> |
| 31 | </folding> | 28 | </folding> |
| @@ -33,11 +30,11 @@ | @@ -33,11 +30,11 @@ | ||
| 33 | </provider> | 30 | </provider> |
| 34 | </entry> | 31 | </entry> |
| 35 | </file> | 32 | </file> |
| 36 | - <file leaf-file-name="pubspec.yaml" pinned="false" current-in-tab="true"> | 33 | + <file leaf-file-name="pubspec.yaml" pinned="false" current-in-tab="false"> |
| 37 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | 34 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> |
| 38 | <provider selected="true" editor-type-id="text-editor"> | 35 | <provider selected="true" editor-type-id="text-editor"> |
| 39 | <state relative-caret-position="432"> | 36 | <state relative-caret-position="432"> |
| 40 | - <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" /> | 37 | + <caret line="16" selection-start-line="16" selection-end-line="16" /> |
| 41 | </state> | 38 | </state> |
| 42 | </provider> | 39 | </provider> |
| 43 | </entry> | 40 | </entry> |
| @@ -70,14 +67,14 @@ | @@ -70,14 +67,14 @@ | ||
| 70 | <option value="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> | 67 | <option value="$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> |
| 71 | <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib/flutter_screenutil.dart" /> | 68 | <option value="$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib/flutter_screenutil.dart" /> |
| 72 | <option value="$PROJECT_DIR$/lib/flutter_screenutil.dart" /> | 69 | <option value="$PROJECT_DIR$/lib/flutter_screenutil.dart" /> |
| 73 | - <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
| 74 | - <option value="$PROJECT_DIR$/README.md" /> | ||
| 75 | - <option value="$PROJECT_DIR$/README-EN.md" /> | ||
| 76 | <option value="$PROJECT_DIR$/example/pubspec.yaml" /> | 70 | <option value="$PROJECT_DIR$/example/pubspec.yaml" /> |
| 77 | <option value="$PROJECT_DIR$/example/test/widget_test.dart" /> | 71 | <option value="$PROJECT_DIR$/example/test/widget_test.dart" /> |
| 78 | <option value="$PROJECT_DIR$/CHANGELOG.md" /> | 72 | <option value="$PROJECT_DIR$/CHANGELOG.md" /> |
| 79 | <option value="$PROJECT_DIR$/pubspec.yaml" /> | 73 | <option value="$PROJECT_DIR$/pubspec.yaml" /> |
| 80 | <option value="$PROJECT_DIR$/LICENSE" /> | 74 | <option value="$PROJECT_DIR$/LICENSE" /> |
| 75 | + <option value="$PROJECT_DIR$/README.md" /> | ||
| 76 | + <option value="$PROJECT_DIR$/README-EN.md" /> | ||
| 77 | + <option value="$PROJECT_DIR$/example/lib/main.dart" /> | ||
| 81 | </list> | 78 | </list> |
| 82 | </option> | 79 | </option> |
| 83 | </component> | 80 | </component> |
| @@ -94,7 +91,6 @@ | @@ -94,7 +91,6 @@ | ||
| 94 | <foldersAlwaysOnTop value="true" /> | 91 | <foldersAlwaysOnTop value="true" /> |
| 95 | </navigator> | 92 | </navigator> |
| 96 | <panes> | 93 | <panes> |
| 97 | - <pane id="AndroidView" /> | ||
| 98 | <pane id="ProjectPane"> | 94 | <pane id="ProjectPane"> |
| 99 | <subPane> | 95 | <subPane> |
| 100 | <expand> | 96 | <expand> |
| @@ -102,10 +98,22 @@ | @@ -102,10 +98,22 @@ | ||
| 102 | <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | 98 | <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> |
| 103 | <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | 99 | <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> |
| 104 | </path> | 100 | </path> |
| 101 | + <path> | ||
| 102 | + <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | ||
| 103 | + <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | ||
| 104 | + <item name="example" type="462c0819:PsiDirectoryNode" /> | ||
| 105 | + </path> | ||
| 106 | + <path> | ||
| 107 | + <item name="flutter_ScreenUtil" type="b2602c69:ProjectViewProjectNode" /> | ||
| 108 | + <item name="flutter_ScreenUtil" type="462c0819:PsiDirectoryNode" /> | ||
| 109 | + <item name="example" type="462c0819:PsiDirectoryNode" /> | ||
| 110 | + <item name="lib" type="462c0819:PsiDirectoryNode" /> | ||
| 111 | + </path> | ||
| 105 | </expand> | 112 | </expand> |
| 106 | <select /> | 113 | <select /> |
| 107 | </subPane> | 114 | </subPane> |
| 108 | </pane> | 115 | </pane> |
| 116 | + <pane id="AndroidView" /> | ||
| 109 | <pane id="Scope" /> | 117 | <pane id="Scope" /> |
| 110 | <pane id="PackagesPane" /> | 118 | <pane id="PackagesPane" /> |
| 111 | </panes> | 119 | </panes> |
| @@ -309,7 +317,14 @@ | @@ -309,7 +317,14 @@ | ||
| 309 | <option name="project" value="LOCAL" /> | 317 | <option name="project" value="LOCAL" /> |
| 310 | <updated>1539155710485</updated> | 318 | <updated>1539155710485</updated> |
| 311 | </task> | 319 | </task> |
| 312 | - <option name="localTasksCounter" value="14" /> | 320 | + <task id="LOCAL-00014" summary="readme"> |
| 321 | + <created>1539160890028</created> | ||
| 322 | + <option name="number" value="00014" /> | ||
| 323 | + <option name="presentableId" value="LOCAL-00014" /> | ||
| 324 | + <option name="project" value="LOCAL" /> | ||
| 325 | + <updated>1539160890028</updated> | ||
| 326 | + </task> | ||
| 327 | + <option name="localTasksCounter" value="15" /> | ||
| 313 | <servers /> | 328 | <servers /> |
| 314 | </component> | 329 | </component> |
| 315 | <component name="ToolWindowManager"> | 330 | <component name="ToolWindowManager"> |
| @@ -317,20 +332,18 @@ | @@ -317,20 +332,18 @@ | ||
| 317 | <editor active="true" /> | 332 | <editor active="true" /> |
| 318 | <layout> | 333 | <layout> |
| 319 | <window_info anchor="bottom" id="TODO" order="6" /> | 334 | <window_info anchor="bottom" id="TODO" order="6" /> |
| 320 | - <window_info anchor="bottom" id="Messages" order="8" sideWeight="0.49573562" visible="true" weight="0.3293348" /> | ||
| 321 | <window_info anchor="right" id="Palette	" order="4" /> | 335 | <window_info anchor="right" id="Palette	" order="4" /> |
| 322 | <window_info id="Image Layers" order="3" /> | 336 | <window_info id="Image Layers" order="3" /> |
| 323 | <window_info anchor="right" id="Capture Analysis" order="4" /> | 337 | <window_info anchor="right" id="Capture Analysis" order="4" /> |
| 324 | <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.5042644" side_tool="true" weight="0.3297062" /> | 338 | <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.5042644" side_tool="true" weight="0.3297062" /> |
| 325 | <window_info anchor="bottom" id="Dart Analysis" order="8" weight="0.3297062" /> | 339 | <window_info anchor="bottom" id="Dart Analysis" order="8" weight="0.3297062" /> |
| 326 | - <window_info anchor="bottom" id="Run" order="2" weight="0.3293348" /> | 340 | + <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.3293348" /> |
| 327 | <window_info anchor="bottom" id="Version Control" order="8" weight="0.32861805" /> | 341 | <window_info anchor="bottom" id="Version Control" order="8" weight="0.32861805" /> |
| 328 | <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49573562" weight="0.32824427" /> | 342 | <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49573562" weight="0.32824427" /> |
| 329 | <window_info anchor="right" id="Flutter Outline" order="4" /> | 343 | <window_info anchor="right" id="Flutter Outline" order="4" /> |
| 330 | <window_info id="Capture Tool" order="3" /> | 344 | <window_info id="Capture Tool" order="3" /> |
| 331 | <window_info id="Designer" order="3" /> | 345 | <window_info id="Designer" order="3" /> |
| 332 | - <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" /> | ||
| 333 | - <window_info anchor="bottom" id="Find" order="1" /> | 346 | + <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25" /> |
| 334 | <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> | 347 | <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> |
| 335 | <window_info anchor="right" id="Fabric" order="4" /> | 348 | <window_info anchor="right" id="Fabric" order="4" /> |
| 336 | <window_info anchor="right" id="Theme Preview" order="4" /> | 349 | <window_info anchor="right" id="Theme Preview" order="4" /> |
| @@ -342,9 +355,11 @@ | @@ -342,9 +355,11 @@ | ||
| 342 | <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> | 355 | <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> |
| 343 | <window_info id="Build Variants" order="3" side_tool="true" /> | 356 | <window_info id="Build Variants" order="3" side_tool="true" /> |
| 344 | <window_info anchor="bottom" id="Android Profiler" order="8" show_stripe_button="false" /> | 357 | <window_info anchor="bottom" id="Android Profiler" order="8" show_stripe_button="false" /> |
| 358 | + <window_info anchor="bottom" id="Find" order="1" /> | ||
| 345 | <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> | 359 | <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> |
| 346 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> | 360 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> |
| 347 | <window_info anchor="bottom" id="Logcat" order="8" /> | 361 | <window_info anchor="bottom" id="Logcat" order="8" /> |
| 362 | + <window_info anchor="bottom" id="Messages" order="8" sideWeight="0.49573562" visible="true" weight="0.3293348" /> | ||
| 348 | <window_info anchor="bottom" id="Message" order="0" /> | 363 | <window_info anchor="bottom" id="Message" order="0" /> |
| 349 | <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> | 364 | <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> |
| 350 | <window_info anchor="right" id="Device File Explorer" order="4" side_tool="true" /> | 365 | <window_info anchor="right" id="Device File Explorer" order="4" side_tool="true" /> |
| @@ -633,20 +648,6 @@ | @@ -633,20 +648,6 @@ | ||
| 633 | </provider> | 648 | </provider> |
| 634 | </entry> | 649 | </entry> |
| 635 | <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> | 650 | <entry file="file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart" /> |
| 636 | - <entry file="file://$PROJECT_DIR$/README.md"> | ||
| 637 | - <provider selected="true" editor-type-id="text-editor"> | ||
| 638 | - <state relative-caret-position="81"> | ||
| 639 | - <caret line="3" selection-start-line="3" selection-end-line="3" /> | ||
| 640 | - </state> | ||
| 641 | - </provider> | ||
| 642 | - </entry> | ||
| 643 | - <entry file="file://$PROJECT_DIR$/README-EN.md"> | ||
| 644 | - <provider selected="true" editor-type-id="text-editor"> | ||
| 645 | - <state relative-caret-position="270"> | ||
| 646 | - <caret line="10" column="9" selection-start-line="10" selection-start-column="9" selection-end-line="10" selection-end-column="9" /> | ||
| 647 | - </state> | ||
| 648 | - </provider> | ||
| 649 | - </entry> | ||
| 650 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> | 651 | <entry file="file://$PROJECT_DIR$/lib/flutter_screenutil.dart"> |
| 651 | <provider selected="true" editor-type-id="text-editor"> | 652 | <provider selected="true" editor-type-id="text-editor"> |
| 652 | <state relative-caret-position="697"> | 653 | <state relative-caret-position="697"> |
| @@ -666,44 +667,49 @@ | @@ -666,44 +667,49 @@ | ||
| 666 | <state relative-caret-position="-1084" /> | 667 | <state relative-caret-position="-1084" /> |
| 667 | </provider> | 668 | </provider> |
| 668 | </entry> | 669 | </entry> |
| 669 | - <entry file="file://$PROJECT_DIR$/example/test/widget_test.dart"> | 670 | + <entry file="file://$PROJECT_DIR$/example/test/widget_test.dart" /> |
| 671 | + <entry file="file://$PROJECT_DIR$/CHANGELOG.md"> | ||
| 670 | <provider selected="true" editor-type-id="text-editor"> | 672 | <provider selected="true" editor-type-id="text-editor"> |
| 671 | - <state relative-caret-position="212"> | ||
| 672 | - <caret line="14" column="36" selection-start-line="14" selection-start-column="36" selection-end-line="14" selection-end-column="36" /> | ||
| 673 | - <folding> | ||
| 674 | - <element signature="e#354#393#0" expanded="true" /> | ||
| 675 | - </folding> | 673 | + <state relative-caret-position="135"> |
| 674 | + <caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" /> | ||
| 676 | </state> | 675 | </state> |
| 677 | </provider> | 676 | </provider> |
| 678 | </entry> | 677 | </entry> |
| 679 | - <entry file="file://$PROJECT_DIR$/CHANGELOG.md"> | 678 | + <entry file="file://$PROJECT_DIR$/LICENSE"> |
| 680 | <provider selected="true" editor-type-id="text-editor"> | 679 | <provider selected="true" editor-type-id="text-editor"> |
| 681 | - <state relative-caret-position="135"> | ||
| 682 | - <caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" /> | 680 | + <state relative-caret-position="5400"> |
| 681 | + <caret line="200" column="33" selection-start-line="200" selection-start-column="33" selection-end-line="200" selection-end-column="33" /> | ||
| 683 | </state> | 682 | </state> |
| 684 | </provider> | 683 | </provider> |
| 685 | </entry> | 684 | </entry> |
| 686 | - <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | 685 | + <entry file="file://$PROJECT_DIR$/README.md"> |
| 687 | <provider selected="true" editor-type-id="text-editor"> | 686 | <provider selected="true" editor-type-id="text-editor"> |
| 688 | - <state relative-caret-position="135"> | ||
| 689 | - <caret line="5" column="37" lean-forward="true" selection-start-line="5" selection-start-column="37" selection-end-line="5" selection-end-column="37" /> | ||
| 690 | - <folding> | ||
| 691 | - <element signature="e#0#39#0" expanded="true" /> | ||
| 692 | - </folding> | 687 | + <state relative-caret-position="378"> |
| 688 | + <caret line="14" column="11" selection-start-line="14" selection-end-line="14" selection-end-column="11" /> | ||
| 693 | </state> | 689 | </state> |
| 694 | </provider> | 690 | </provider> |
| 695 | </entry> | 691 | </entry> |
| 696 | - <entry file="file://$PROJECT_DIR$/LICENSE"> | 692 | + <entry file="file://$PROJECT_DIR$/README-EN.md"> |
| 697 | <provider selected="true" editor-type-id="text-editor"> | 693 | <provider selected="true" editor-type-id="text-editor"> |
| 698 | - <state relative-caret-position="5400"> | ||
| 699 | - <caret line="200" column="33" selection-start-line="200" selection-start-column="33" selection-end-line="200" selection-end-column="33" /> | 694 | + <state relative-caret-position="243"> |
| 695 | + <caret line="21" lean-forward="true" selection-start-line="21" selection-end-line="21" /> | ||
| 700 | </state> | 696 | </state> |
| 701 | </provider> | 697 | </provider> |
| 702 | </entry> | 698 | </entry> |
| 703 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> | 699 | <entry file="file://$PROJECT_DIR$/pubspec.yaml"> |
| 704 | <provider selected="true" editor-type-id="text-editor"> | 700 | <provider selected="true" editor-type-id="text-editor"> |
| 705 | <state relative-caret-position="432"> | 701 | <state relative-caret-position="432"> |
| 706 | - <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" /> | 702 | + <caret line="16" selection-start-line="16" selection-end-line="16" /> |
| 703 | + </state> | ||
| 704 | + </provider> | ||
| 705 | + </entry> | ||
| 706 | + <entry file="file://$PROJECT_DIR$/example/lib/main.dart"> | ||
| 707 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 708 | + <state relative-caret-position="432"> | ||
| 709 | + <caret line="86" column="12" selection-start-line="86" selection-start-column="12" selection-end-line="86" selection-end-column="12" /> | ||
| 710 | + <folding> | ||
| 711 | + <element signature="e#0#39#0" expanded="true" /> | ||
| 712 | + </folding> | ||
| 707 | </state> | 713 | </state> |
| 708 | </provider> | 714 | </provider> |
| 709 | </entry> | 715 | </entry> |
| @@ -79,10 +79,12 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -79,10 +79,12 @@ class _MyHomePageState extends State<MyHomePage> { | ||
| 79 | Text('Status bar height:${ScreenUtil.statusBarHeight}px'), | 79 | Text('Status bar height:${ScreenUtil.statusBarHeight}px'), |
| 80 | Text( | 80 | Text( |
| 81 | 'Width is enlarged relative to the design draft:${ScreenUtil().scaleWidth}', | 81 | 'Width is enlarged relative to the design draft:${ScreenUtil().scaleWidth}', |
| 82 | - style: TextStyle(), | 82 | + textAlign: TextAlign.center, |
| 83 | ), | 83 | ), |
| 84 | Text( | 84 | Text( |
| 85 | - 'Height is enlarged relative to the design draft:${ScreenUtil().scaleHeight}'), | 85 | + 'Height is enlarged relative to the design draft:${ScreenUtil().scaleHeight}', |
| 86 | + textAlign: TextAlign.center, | ||
| 87 | + ), | ||
| 86 | ], | 88 | ], |
| 87 | crossAxisAlignment: CrossAxisAlignment.center, | 89 | crossAxisAlignment: CrossAxisAlignment.center, |
| 88 | ), | 90 | ), |
-
Please register or login to post a comment