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
hussam
2022-02-28 23:13:06 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e88cb4c6ae6564ac1d74d6a08a7a99bf684a6676
e88cb4c6
1 parent
27391c23
update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
README.md
README_CN.md
README_PT.md
README.md
View file @
e88cb4c
...
...
@@ -202,6 +202,9 @@ class _HomePageState extends State<HomePage> {
0.5
.
sh
//50% of screen height
20
.
setVerticalSpacing
// SizedBox(height: 20 * scaleHeight)
20
.
horizontalSpace
// SizedBox(height: 20 * scaleWidth)
const
RPadding
.
all
(
8
)
// Padding.all(8.r) - take advantage of const key word
REdgeInsts
.
all
(
8
)
// EdgeInsets.all(8.r)
EdgeInsets
.
only
(
left:
8
,
right:
8
).
r
// EdgeInsets.only(left:8.r,right:8.r).
```
#### Adapt screen size:
...
...
README_CN.md
View file @
e88cb4c
...
...
@@ -161,6 +161,9 @@ class _HomePageState extends State<HomePage> {
0.5
.
sh
//屏幕高度的50%
20
.
setVerticalSpacing
// SizedBox(height: 20 * scaleHeight)
20
.
horizontalSpace
// SizedBox(height: 20 * scaleWidth)
const
RPadding
.
all
(
8
)
// Padding.all(8.r) - take advantage of const key word
REdgeInsts
.
all
(
8
)
// EdgeInsets.all(8.r)
EdgeInsets
.
only
(
left:
8
,
right:
8
).
r
// EdgeInsets.only(left:8.r,right:8.r).
```
...
...
README_PT.md
View file @
e88cb4c
...
...
@@ -151,6 +151,9 @@ class _HomePageState extends State<HomePage> {
0.5
.
sh
//50% altura da tela
20
.
setVerticalSpacing
// SizedBox(height: 20 * scaleHeight)
20
.
horizontalSpace
// SizedBox(height: 20 * scaleWidth)
const
RPadding
.
all
(
8
)
// Padding.all(8.r) - take advantage of const key word
REdgeInsts
.
all
(
8
)
// EdgeInsets.all(8.r)
EdgeInsets
.
only
(
left:
8
,
right:
8
).
r
// EdgeInsets.only(left:8.r,right:8.r).
```
#### Adaptar o tamanho da tela:
...
...
Please
register
or
login
to post a comment