We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccceb14 commit 10b0df9Copy full SHA for 10b0df9
projects/flutter-demo/lib/all_samples/list/vertical_list_nested_horizontal_list.dart
@@ -21,12 +21,21 @@ class ListViewNested extends StatelessWidget {
21
@override
22
Widget build(BuildContext context) {
23
return new Scaffold(
24
- appBar: new AppBar(
+ appBar: new AppBar(
25
+ leading: new IconButton(
26
+ icon: new Icon(Icons.keyboard_arrow_left),
27
+ onPressed: () {
28
+ // 返回上一个页面
29
+ Navigator.of(context).pop();
30
+ }),
31
title: new Text(
32
'垂直listview嵌套水平的listview Demo',
- style: new TextStyle(fontSize: 15.0),
33
+ style: new TextStyle(fontSize: 17.0),
34
),
35
36
+
37
38
+ ),
39
// body: buildListView(),
40
body: buildListView2(),
41
);
0 commit comments