Showing
1 changed file
with
6 additions
and
6 deletions
| @@ -87,12 +87,6 @@ class HomePageScaffold extends StatelessWidget { | @@ -87,12 +87,6 @@ class HomePageScaffold extends StatelessWidget { | ||
| 87 | child: Column( | 87 | child: Column( |
| 88 | crossAxisAlignment: CrossAxisAlignment.stretch, | 88 | crossAxisAlignment: CrossAxisAlignment.stretch, |
| 89 | children: [ | 89 | children: [ |
| 90 | - TextField( | ||
| 91 | - decoration: InputDecoration( | ||
| 92 | - border: OutlineInputBorder(), | ||
| 93 | - ), | ||
| 94 | - ), | ||
| 95 | - 18.verticalSpace, | ||
| 96 | ElevatedButton( | 90 | ElevatedButton( |
| 97 | onPressed: () { | 91 | onPressed: () { |
| 98 | showDialog( | 92 | showDialog( |
| @@ -149,6 +143,12 @@ class HomePageScaffold extends StatelessWidget { | @@ -149,6 +143,12 @@ class HomePageScaffold extends StatelessWidget { | ||
| 149 | child: const Text('Open BottomSheet'), | 143 | child: const Text('Open BottomSheet'), |
| 150 | ), | 144 | ), |
| 151 | 18.verticalSpace, | 145 | 18.verticalSpace, |
| 146 | + TextField( | ||
| 147 | + decoration: InputDecoration( | ||
| 148 | + border: OutlineInputBorder(), | ||
| 149 | + ), | ||
| 150 | + ), | ||
| 151 | + 18.verticalSpace, | ||
| 152 | Text('Device width:${ScreenUtil().screenWidth}dp'), | 152 | Text('Device width:${ScreenUtil().screenWidth}dp'), |
| 153 | Text('Device height:${ScreenUtil().screenHeight}dp'), | 153 | Text('Device height:${ScreenUtil().screenHeight}dp'), |
| 154 | Text('Device pixel density:${ScreenUtil().pixelRatio}'), | 154 | Text('Device pixel density:${ScreenUtil().pixelRatio}'), |
-
Please register or login to post a comment