Docs for menus (#10396)

Also, clean up the menus code a bit.

Also, make it easier to write a PopupMenuEntry that has itself many
items (for example, the way Chrome's menu has icons in a row).
This commit is contained in:
Ian Hickson
2017-05-31 10:48:49 -07:00
committed by GitHub
parent c713aa0020
commit ccad2849e7
2 changed files with 247 additions and 60 deletions

View File

@@ -79,9 +79,9 @@ class MenuDemoState extends State<MenuDemo> {
value: 'Hooray!',
child: const Text('Hooray!')
),
]
)
]
],
),
],
),
body: new ListView(
padding: kMaterialListPadding,