Skip to content

Commit

Permalink
fix: 页面导航
Browse files Browse the repository at this point in the history
  • Loading branch information
xsoap committed Mar 22, 2021
1 parent 0b3fa5a commit 54aabea
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,19 +169,19 @@ class MXFlutterExampleHome extends StatelessWidget {
MXJSPageWidget(jsWidgetName: "example2")));
},
),
ListTile(
leading: Icon(Icons.book),
trailing: Icon(Icons.arrow_right),
title: Text('MXJSC 测试'),
subtitle: Text('调试编译器测试页面'),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
MXJSPageWidget(jsWidgetName: "mx-jsc-demo")));
},
),
// ListTile(
// leading: Icon(Icons.book),
// trailing: Icon(Icons.arrow_right),
// title: Text('MXJSC 测试'),
// subtitle: Text('调试编译器测试页面'),
// onTap: () {
// Navigator.push(
// context,
// MaterialPageRoute(
// builder: (context) =>
// MXJSPageWidget(jsWidgetName: "mx-jsc-demo")));
// },
// ),
ListTile(
leading: Icon(
Icons.refresh,
Expand Down

0 comments on commit 54aabea

Please sign in to comment.