Skip to content

Commit

Permalink
change device
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkuan committed Mar 23, 2019
1 parent 1b111f6 commit fdca6d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/view/route/dataRoute.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ class _DataRouteState extends State<DataRoute> {
),
)
};

print('w = ${MediaQuery.of(context).size.width}');
print('h = ${MediaQuery.of(context).size.height}');
///保存的数据界面布局
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
Expand All @@ -271,7 +272,7 @@ class _DataRouteState extends State<DataRoute> {
child: Column(
children: <Widget>[
SizedBox(
height: 100.0,
height: MediaQuery.of(context).padding.top + 90.0,
),
SizedBox(
width: 500.0,
Expand Down

0 comments on commit fdca6d1

Please sign in to comment.