File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/flutter/lib/src/widgets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,13 +169,13 @@ abstract class MenuItem with Diagnosticable {
169
169
/// Returns a callback, if any, to be invoked if the platform menu receives a
170
170
/// "Menu.opened" method call from the platform for this item.
171
171
///
172
- /// Only items that have submenus will have this callback invokes
172
+ /// Only items that have submenus will have this callback invoked.
173
173
///
174
174
/// The default implementation returns null.
175
175
VoidCallback ? get onOpen => null ;
176
176
177
177
/// Returns a callback, if any, to be invoked if the platform menu receives a
178
- /// "Menu.opened " method call from the platform for this item.
178
+ /// "Menu.closed " method call from the platform for this item.
179
179
///
180
180
/// Only items that have submenus will have this callback invoked.
181
181
///
You can’t perform that action at this time.
0 commit comments