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-06-27 15:45:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07f1da096c3c30fdc69da0f5f567c9af8a96cbce
07f1da09
1 parent
db8ed15a
example
Show 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 @
07f1da0
...
...
@@ -87,12 +87,6 @@ class HomePageScaffold extends StatelessWidget {
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
stretch
,
children:
[
TextField
(
decoration:
InputDecoration
(
border:
OutlineInputBorder
(),
),
),
18
.
verticalSpace
,
ElevatedButton
(
onPressed:
()
{
showDialog
(
...
...
@@ -149,6 +143,12 @@ class HomePageScaffold extends StatelessWidget {
child:
const
Text
(
'Open BottomSheet'
),
),
18
.
verticalSpace
,
TextField
(
decoration:
InputDecoration
(
border:
OutlineInputBorder
(),
),
),
18
.
verticalSpace
,
Text
(
'Device width:
${ScreenUtil().screenWidth}
dp'
),
Text
(
'Device height:
${ScreenUtil().screenHeight}
dp'
),
Text
(
'Device pixel density:
${ScreenUtil().pixelRatio}
'
),
...
...
Please
register
or
login
to post a comment