Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
__卓原
flutter_screenutil
提交
268823c2
F
flutter_screenutil
项目概览
__卓原
/
flutter_screenutil
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flutter_screenutil
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
268823c2
编写于
10月 10, 2018
作者:
李
李卓原
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
readme
上级
cc581cc5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
61 addition
and
53 deletion
+61
-53
.idea/workspace.xml
.idea/workspace.xml
+57
-51
effect.png
effect.png
+0
-0
example/lib/main.dart
example/lib/main.dart
+4
-2
未找到文件。
.idea/workspace.xml
浏览文件 @
268823c2
...
...
@@ -7,10 +7,7 @@
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"4b1e7c8a-90e5-4705-b34f-bcaa595e12fe"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.packages"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.packages"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/LICENSE"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/LICENSE"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pubspec.yaml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/main.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/main.dart"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -21,11 +18,11 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
135
"
>
<caret
line=
"
5"
column=
"37"
lean-forward=
"true"
selection-start-line=
"5"
selection-start-column=
"37"
selection-end-line=
"5"
selection-end-column=
"37
"
/>
<state
relative-caret-position=
"
432
"
>
<caret
line=
"
86"
column=
"12"
selection-start-line=
"86"
selection-start-column=
"12"
selection-end-line=
"86"
selection-end-column=
"12
"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
...
...
@@ -33,11 +30,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"pubspec.yaml"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"pubspec.yaml"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"16"
lean-forward=
"true"
selection-start-line=
"16"
selection-end-line=
"16"
/>
<caret
line=
"16"
selection-start-line=
"16"
selection-end-line=
"16"
/>
</state>
</provider>
</entry>
...
...
@@ -70,14 +67,14 @@
<option
value=
"$PROJECT_DIR$/example/lib/flutter_screenutil.dart"
/>
<option
value=
"$USER_HOME$/AppData/Roaming/Pub/Cache/git/flutter_screenUtil-62d8b7d3a3cc4323eca1682166d7aee2890b1468/lib/flutter_screenutil.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_screenutil.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/README-EN.md"
/>
<option
value=
"$PROJECT_DIR$/example/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/example/test/widget_test.dart"
/>
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/LICENSE"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/README-EN.md"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
</list>
</option>
</component>
...
...
@@ -94,7 +91,6 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"AndroidView"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -102,10 +98,22 @@
<item
name=
"flutter_ScreenUtil"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"flutter_ScreenUtil"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"flutter_ScreenUtil"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"flutter_ScreenUtil"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"example"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"flutter_ScreenUtil"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"flutter_ScreenUtil"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"example"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"lib"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
<pane
id=
"AndroidView"
/>
<pane
id=
"Scope"
/>
<pane
id=
"PackagesPane"
/>
</panes>
...
...
@@ -309,7 +317,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1539155710485
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"14"
/>
<task
id=
"LOCAL-00014"
summary=
"readme"
>
<created>
1539160890028
</created>
<option
name=
"number"
value=
"00014"
/>
<option
name=
"presentableId"
value=
"LOCAL-00014"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1539160890028
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"15"
/>
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
...
...
@@ -317,20 +332,18 @@
<editor
active=
"true"
/>
<layout>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"8"
sideWeight=
"0.49573562"
visible=
"true"
weight=
"0.3293348"
/>
<window_info
anchor=
"right"
id=
"Palette	"
order=
"4"
/>
<window_info
id=
"Image Layers"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"Capture Analysis"
order=
"4"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"8"
sideWeight=
"0.5042644"
side_tool=
"true"
weight=
"0.3297062"
/>
<window_info
anchor=
"bottom"
id=
"Dart Analysis"
order=
"8"
weight=
"0.3297062"
/>
<window_info
a
nchor=
"bottom"
id=
"Run"
order=
"2
"
weight=
"0.3293348"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true
"
weight=
"0.3293348"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"8"
weight=
"0.32861805"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"8"
sideWeight=
"0.49573562"
weight=
"0.32824427"
/>
<window_info
anchor=
"right"
id=
"Flutter Outline"
order=
"4"
/>
<window_info
id=
"Capture Tool"
order=
"3"
/>
<window_info
id=
"Designer"
order=
"3"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.25"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Fabric"
order=
"4"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"4"
/>
...
...
@@ -342,9 +355,11 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
id=
"Build Variants"
order=
"3"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"8"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"8"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"8"
sideWeight=
"0.49573562"
visible=
"true"
weight=
"0.3293348"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Device File Explorer"
order=
"4"
side_tool=
"true"
/>
...
...
@@ -633,20 +648,6 @@
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/flutter_screenutil.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"81"
>
<caret
line=
"3"
selection-start-line=
"3"
selection-end-line=
"3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README-EN.md"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"10"
column=
"9"
selection-start-line=
"10"
selection-start-column=
"9"
selection-end-line=
"10"
selection-end-column=
"9"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_screenutil.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"697"
>
...
...
@@ -666,44 +667,49 @@
<state
relative-caret-position=
"-1084"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/test/widget_test.dart"
>
<entry
file=
"file://$PROJECT_DIR$/example/test/widget_test.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/CHANGELOG.md"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"212"
>
<caret
line=
"14"
column=
"36"
selection-start-line=
"14"
selection-start-column=
"36"
selection-end-line=
"14"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#354#393#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"135"
>
<caret
line=
"5"
lean-forward=
"true"
selection-start-line=
"5"
selection-end-line=
"5"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
CHANGELOG.md
"
>
<entry
file=
"file://$PROJECT_DIR$/
LICENSE
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
135
"
>
<caret
line=
"
5"
lean-forward=
"true"
selection-start-line=
"5"
selection-end-line=
"5
"
/>
<state
relative-caret-position=
"
5400
"
>
<caret
line=
"
200"
column=
"33"
selection-start-line=
"200"
selection-start-column=
"33"
selection-end-line=
"200"
selection-end-column=
"33
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/main.dart
"
>
<entry
file=
"file://$PROJECT_DIR$/
README.md
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"5"
column=
"37"
lean-forward=
"true"
selection-start-line=
"5"
selection-start-column=
"37"
selection-end-line=
"5"
selection-end-column=
"37"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"378"
>
<caret
line=
"14"
column=
"11"
selection-start-line=
"14"
selection-end-line=
"14"
selection-end-column=
"11"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
LICENSE
"
>
<entry
file=
"file://$PROJECT_DIR$/
README-EN.md
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
5400
"
>
<caret
line=
"2
00"
column=
"33"
selection-start-line=
"200"
selection-start-column=
"33"
selection-end-line=
"200"
selection-end-column=
"33
"
/>
<state
relative-caret-position=
"
243
"
>
<caret
line=
"2
1"
lean-forward=
"true"
selection-start-line=
"21"
selection-end-line=
"21
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"16"
lean-forward=
"true"
selection-start-line=
"16"
selection-end-line=
"16"
/>
<caret
line=
"16"
selection-start-line=
"16"
selection-end-line=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"86"
column=
"12"
selection-start-line=
"86"
selection-start-column=
"12"
selection-end-line=
"86"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
effect.png
查看替换文件 @
cc581cc5
浏览文件 @
268823c2
93.7 KB
|
W:
|
H:
47.0 KB
|
W:
|
H:
2-up
Swipe
Onion skin
example/lib/main.dart
浏览文件 @
268823c2
...
...
@@ -79,10 +79,12 @@ class _MyHomePageState extends State<MyHomePage> {
Text
(
'Status bar height:
${ScreenUtil.statusBarHeight}
px'
),
Text
(
'Width is enlarged relative to the design draft:
${ScreenUtil().scaleWidth}
'
,
style:
TextStyle
()
,
textAlign:
TextAlign
.
center
,
),
Text
(
'Height is enlarged relative to the design draft:
${ScreenUtil().scaleHeight}
'
),
'Height is enlarged relative to the design draft:
${ScreenUtil().scaleHeight}
'
,
textAlign:
TextAlign
.
center
,
),
],
crossAxisAlignment:
CrossAxisAlignment
.
center
,
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录