李卓原

example

... ... @@ -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}'),
... ...