Skip to content

Commit

Permalink
Debug navgation bar missing in the controller demo page. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzp1984 committed Sep 3, 2023
1 parent ae033f2 commit 7b801ab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/widget/controller_demo_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class ControllerDemoPage extends StatelessWidget {
Widget build(BuildContext context) {
print("######### MyHomePage ${MediaQuery.of(context).size}");
return Scaffold(
appBar: AppBar(
title: new Text("ControllerDemoPage"),
),
body: Container(
alignment: Alignment.center,
child: InkWell(
Expand All @@ -29,13 +32,12 @@ class ControllerDemoPage extends StatelessWidget {
}
}


class EditPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: new Text("ControllerDemoPage"),
title: new Text("EditDemoPage"),
),
extendBody: true,
body: Column(
Expand All @@ -52,4 +54,4 @@ class EditPage extends StatelessWidget {
),
);
}
}
}

0 comments on commit 7b801ab

Please sign in to comment.