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
李卓原
2022-10-27 17:01:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9e829b15798c097f49197cbedb99f42c52be8ea8
9e829b15
1 parent
e60e2cb4
dart format
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
example/lib/src/home.dart
example/lib/src/home.dart
View file @
9e829b1
...
...
@@ -54,10 +54,7 @@ class HomePageScaffold extends StatelessWidget {
),
// Without using Extensions
Container
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
16
).
w
),
color:
Colors
.
blue
,
),
color:
Colors
.
blue
,
constraints:
BoxConstraints
(
maxWidth:
180
,
minHeight:
200
).
hw
,
padding:
EdgeInsets
.
all
(
10
.
w
),
child:
Text
(
...
...
@@ -72,10 +69,13 @@ class HomePageScaffold extends StatelessWidget {
],
),
Container
(
padding:
EdgeInsets
.
all
(
10
.
w
),
padding:
EdgeInsets
.
all
(
10
).
w
,
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
16
).
w
),
color:
Colors
.
green
,
),
width:
100
.
r
,
height:
100
.
r
,
color:
Colors
.
green
,
child:
Text
(
'I am a square with a side length of 100'
,
style:
TextStyle
(
...
...
Please
register
or
login
to post a comment