mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix issue #34 Clicking on "Autorefresh" menu item does not click checkbox
This commit is contained in:
parent
fd744a1244
commit
f9697a5cd7
@ -39,7 +39,10 @@ class StockMenu extends Component {
|
||||
items: [
|
||||
new PopupMenuItem(child: new Text('Add stock')),
|
||||
new PopupMenuItem(child: new Text('Remove stock')),
|
||||
new PopupMenuItem(child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])),
|
||||
new PopupMenuItem(
|
||||
onPressed: () => onAutorefreshChanged(!autorefresh),
|
||||
child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])
|
||||
),
|
||||
],
|
||||
level: 4,
|
||||
showing: showing,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user