Browse Source

Fix the example to work with Flutter 3.7.0

MenuItem was renamed to PlatformMenuItem
J-P Nurmi 3 years ago
parent
commit
20f85d29c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      example/lib/src/platform_menu.dart

+ 1 - 1
example/lib/src/platform_menu.dart

@@ -20,7 +20,7 @@ class _AppPlatformMenuState extends State<AppPlatformMenu> {
     }
 
     return PlatformMenuBar(
-      menus: <MenuItem>[
+      menus: [
         PlatformMenu(
           label: 'TerminalStudio',
           menus: [