From 9f856ac18268d97ed99ef021ded677de3a581837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Uek=C3=B6tter?= Date: Wed, 25 May 2022 23:43:12 +0200 Subject: [PATCH] Improve PlatformMenu `MenuItem` documentation (#104321) --- packages/flutter/lib/src/widgets/platform_menu_bar.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/widgets/platform_menu_bar.dart b/packages/flutter/lib/src/widgets/platform_menu_bar.dart index f2298913e4..d9a3bd9739 100644 --- a/packages/flutter/lib/src/widgets/platform_menu_bar.dart +++ b/packages/flutter/lib/src/widgets/platform_menu_bar.dart @@ -169,13 +169,13 @@ abstract class MenuItem with Diagnosticable { /// Returns a callback, if any, to be invoked if the platform menu receives a /// "Menu.opened" method call from the platform for this item. /// - /// Only items that have submenus will have this callback invokes + /// Only items that have submenus will have this callback invoked. /// /// The default implementation returns null. VoidCallback? get onOpen => null; /// Returns a callback, if any, to be invoked if the platform menu receives a - /// "Menu.opened" method call from the platform for this item. + /// "Menu.closed" method call from the platform for this item. /// /// Only items that have submenus will have this callback invoked. ///