Commit ccad2849 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

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).
parent c713aa00
...@@ -79,9 +79,9 @@ class MenuDemoState extends State<MenuDemo> { ...@@ -79,9 +79,9 @@ class MenuDemoState extends State<MenuDemo> {
value: 'Hooray!', value: 'Hooray!',
child: const Text('Hooray!') child: const Text('Hooray!')
), ),
] ],
) ),
] ],
), ),
body: new ListView( body: new ListView(
padding: kMaterialListPadding, padding: kMaterialListPadding,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment