Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
李卓原
2018-10-17 17:00:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d35db9232a5b3c48a221b5e8aa08b0e880a70cc3
d35db923
1 parent
5dd91fbd
0.4.0优化字体适配方法
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
example/lib/main.dart
example/lib/main_zh.dart
example/lib/main.dart
View file @
d35db92
...
...
@@ -28,6 +28,7 @@ class MyHomePage extends StatefulWidget {
}
class
_MyHomePageState
extends
State
<
MyHomePage
>
{
@override
Widget
build
(
BuildContext
context
)
{
///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)
...
...
example/lib/main_zh.dart
View file @
d35db92
...
...
@@ -28,6 +28,7 @@ class MyHomePage extends StatefulWidget {
}
class
_MyHomePageState
extends
State
<
MyHomePage
>
{
@override
Widget
build
(
BuildContext
context
)
{
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334)
...
...
Please
register
or
login
to post a comment