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
d2910a3455b5caa12c84f70d5a79823e1d840cb2
d2910a34
1 parent
27391c23
update README.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
README.md
README.md
View file @
d2910a3
...
...
@@ -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:
...
...
Please
register
or
login
to post a comment