Repository: flutter
Issue: [web] showMenu invoked by Listener frozen when run in release mode
Labels: framework,engine,f: material design,f: gestures,platform-web,a: release,has reproducible steps,P2,found in release: 2.2,found in release: 2.3,team-web,triaged-web

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1.  Run [Sample Code](https://github.com/vin-fandemand/testmenu) in  web in debug mode.
2.  Right click open a menu, clicking on option shows a snackbar. Rightclick and hovering over the menu works. Rightclick and click somewhere else to cancel works.
2. Run in web in release mode. Right click opens a menu.
 <!-- describe how to reproduce the problem -->

**Expected results:** Everything from 2. should work in release mode as well

**Actual results:** Screen frozen, no additional logs in browser console or terminal or in verbose mode indicating any errors.

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[ +140 ms] executing: sysctl hw.optional.arm64
[  +35 ms] Exit code 0 from: sysctl hw.optional.arm64
[   +3 ms] hw.optional.arm64: 1
[  +10 ms] executing: [/Users/vineethpalani/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] executing: [/Users/vineethpalani/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[  +27 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] 2.2.1
[   +7 ms] executing: [/Users/vineethpalani/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/vineethpalani/flutter/] git ls-remote --get-url origin
[  +21 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +148 ms] executing: [/Users/vineethpalani/flutter/] git rev-parse --abbrev-ref HEAD
[  +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +10 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +19 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.4
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20F71
[  +75 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +49 ms] executing: /Users/vineethpalani/Library/Android/sdk/platform-tools/adb devices -l
[  +20 ms] executing: sysctl hw.optional.arm64
[  +11 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[  +80 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 12.5.1
           Build version 12E507
[   +4 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[   +5 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[  +74 ms] List of devices attached
[  +48 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-4" : [
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/AB8269A9-58CB-475D-8C0D-2F8D213B54F4\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/AB8269A9-58CB-475D-8C0D-2F8D213B54F4",
                   "udid" : "AB8269A9-58CB-475D-8C0D-2F8D213B54F4",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/E500D9A6-1C75-45E1-943D-0A71D970923E\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/E500D9A6-1C75-45E1-943D-0A71D970923E",
                   "udid" : "E500D9A6-1C75-45E1-943D-0A71D970923E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/D7167C8F-749A-40F5-A3BA-69ABA87629DD\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/D7167C8F-749A-40F5-A3BA-69ABA87629DD",
                   "udid" : "D7167C8F-749A-40F5-A3BA-69ABA87629DD",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/958291F2-733C-4084-8577-E589AC177868\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/958291F2-733C-4084-8577-E589AC177868",
                   "udid" : "958291F2-733C-4084-8577-E589AC177868",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 44mm"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-5" : [
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/D03B802B-C3AB-4274-A715-54B982A9E6D9\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/D03B802B-C3AB-4274-A715-54B982A9E6D9",
                   "udid" : "D03B802B-C3AB-4274-A715-54B982A9E6D9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/65FBEB80-1380-46EA-8CB6-990004F3FFB9\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/65FBEB80-1380-46EA-8CB6-990004F3FFB9",
                   "udid" : "65FBEB80-1380-46EA-8CB6-990004F3FFB9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/F3562CB3-67CA-4DF8-A3B6-01A428B67A8F\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/F3562CB3-67CA-4DF8-A3B6-01A428B67A8F",
                   "udid" : "F3562CB3-67CA-4DF8-A3B6-01A428B67A8F",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (at 1080p) (2nd generation)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-5" : [
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/4F66A7A7-F0BB-4D04-A9A9-F37948941A72\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/4F66A7A7-F0BB-4D04-A9A9-F37948941A72",
                   "udid" : "4F66A7A7-F0BB-4D04-A9A9-F37948941A72",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/F0A3143D-5D55-498E-906D-DEEB8C486750\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/F0A3143D-5D55-498E-906D-DEEB8C486750",
                   "udid" : "F0A3143D-5D55-498E-906D-DEEB8C486750",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/600980EB-FC75-4F8D-BCAC-0DD1824B547B\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/600980EB-FC75-4F8D-BCAC-0DD1824B547B",
                   "udid" : "600980EB-FC75-4F8D-BCAC-0DD1824B547B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/A3D455D5-60E1-4BEA-8448-F3FFD6E1C664\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/A3D455D5-60E1-4BEA-8448-F3FFD6E1C664",
                   "udid" : "A3D455D5-60E1-4BEA-8448-F3FFD6E1C664",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/2784A839-BA24-49A2-BEA2-54636991B803\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/2784A839-BA24-49A2-BEA2-54636991B803",
                   "udid" : "2784A839-BA24-49A2-BEA2-54636991B803",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/4E96A86D-FA30-4A32-BD7C-7CF08C8544B5\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/4E96A86D-FA30-4A32-BD7C-7CF08C8544B5",
                   "udid" : "4E96A86D-FA30-4A32-BD7C-7CF08C8544B5",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/218381A2-CED5-4D00-A56B-4CEF10296371\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/218381A2-CED5-4D00-A56B-4CEF10296371",
                   "udid" : "218381A2-CED5-4D00-A56B-4CEF10296371",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 mini"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/1CCA13EB-4B08-434F-8C05-4F6CF3B2B712\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/1CCA13EB-4B08-434F-8C05-4F6CF3B2B712",
                   "udid" : "1CCA13EB-4B08-434F-8C05-4F6CF3B2B712",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/8CAFC79C-344E-4162-A465-0604EAD57DAB\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/8CAFC79C-344E-4162-A465-0604EAD57DAB",
                   "udid" : "8CAFC79C-344E-4162-A465-0604EAD57DAB",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/5531AC60-E1AF-4D09-BDAC-7FF4937DEFD9\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/5531AC60-E1AF-4D09-BDAC-7FF4937DEFD9",
                   "udid" : "5531AC60-E1AF-4D09-BDAC-7FF4937DEFD9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/9836BAE0-AFA9-40B4-80ED-B56C93CF8619\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/9836BAE0-AFA9-40B4-80ED-B56C93CF8619",
                   "udid" : "9836BAE0-AFA9-40B4-80ED-B56C93CF8619",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPod touch (7th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/9030D0E7-BE0F-4CAF-AE59-BDEA35C798B7\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/9030D0E7-BE0F-4CAF-AE59-BDEA35C798B7",
                   "udid" : "9030D0E7-BE0F-4CAF-AE59-BDEA35C798B7",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/04404F07-00E2-4B2E-8F6D-AB69377CEC36\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/04404F07-00E2-4B2E-8F6D-AB69377CEC36",
                   "udid" : "04404F07-00E2-4B2E-8F6D-AB69377CEC36",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (8th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/2DB347FE-6CFF-4936-95AF-F35F57ABBC07\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/2DB347FE-6CFF-4936-95AF-F35F57ABBC07",
                   "udid" : "2DB347FE-6CFF-4936-95AF-F35F57ABBC07",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (4th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/1CB70420-2079-4DCA-BF27-9BC19FF4751C\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/1CB70420-2079-4DCA-BF27-9BC19FF4751C",
                   "udid" : "1CB70420-2079-4DCA-BF27-9BC19FF4751C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (3rd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/vineethpalani\/Library\/Developer\/CoreSimulator\/Devices\/6AB93459-0F2D-401C-8ED1-8FC54E01D771\/data",
                   "logPath" : "\/Users\/vineethpalani\/Library\/Logs\/CoreSimulator\/6AB93459-0F2D-401C-8ED1-8FC54E01D771",
                   "udid" : "6AB93459-0F2D-401C-8ED1-8FC54E01D771",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (5th generation)"
                 }
               ]
             }
           }
[+2268 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "7.4 (18T187)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "AB8269A9-58CB-475D-8C0D-2F8D213B54F4",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "600980EB-FC75-4F8D-BCAC-0DD1824B547B",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-11-1",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,8",
                        "identifier" : "4E96A86D-FA30-4A32-BD7C-7CF08C8544B5",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-se-1",
                        "modelName" : "iPhone SE (2nd generation)",
                        "name" : "iPhone SE (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,5",
                        "identifier" : "1CB70420-2079-4DCA-BF27-9BC19FF4751C",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-pro-11-3rd-1",
                        "modelName" : "iPad Pro (11-inch) (3rd generation)",
                        "name" : "iPad Pro (11-inch) (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone13,4",
                        "identifier" : "5531AC60-E1AF-4D09-BDAC-7FF4937DEFD9",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-12-pro-max-1",
                        "modelName" : "iPhone 12 Pro Max",
                        "name" : "iPhone 12 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone13,3",
                        "identifier" : "8CAFC79C-344E-4162-A465-0604EAD57DAB",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-12-pro-1",
                        "modelName" : "iPhone 12 Pro",
                        "name" : "iPhone 12 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18L191)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "D03B802B-C3AB-4274-A715-54B982A9E6D9",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.apple-tv-4",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPod9,1",
                        "identifier" : "9836BAE0-AFA9-40B4-80ED-B56C93CF8619",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipod-touch-7-2",
                        "modelName" : "iPod touch (7th generation)",
                        "name" : "iPod touch (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "F0A3143D-5D55-498E-906D-DEEB8C486750",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-8-plus-2",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18L191)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV11,1",
                        "identifier" : "F3562CB3-67CA-4DF8-A3B6-01A428B67A8F",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.apple-tv-4k-2nd",
                        "modelName" : "Apple TV 4K (at 1080p) (2nd generation)",
                        "name" : "Apple TV 4K (at 1080p) (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18L191)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV11,1",
                        "identifier" : "65FBEB80-1380-46EA-8CB6-990004F3FFB9",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.apple-tv-4k-2nd",
                        "modelName" : "Apple TV 4K (2nd generation)",
                        "name" : "Apple TV 4K (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "2784A839-BA24-49A2-BEA2-54636991B803",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-11-pro-max-1",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "7.4 (18T187)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch6,2",
                        "identifier" : "958291F2-733C-4084-8577-E589AC177868",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.watch-series6-1",
                        "modelName" : "Apple Watch Series 6 - 44mm",
                        "name" : "Apple Watch Series 6 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "7.4 (18T187)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "E500D9A6-1C75-45E1-943D-0A71D970923E",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,7",
                        "identifier" : "04404F07-00E2-4B2E-8F6D-AB69377CEC36",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-8-wwan-1",
                        "modelName" : "iPad (8th generation)",
                        "name" : "iPad (8th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,2",
                        "identifier" : "2DB347FE-6CFF-4936-95AF-F35F57ABBC07",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-air4-1",
                        "modelName" : "iPad Air (4th generation)",
                        "name" : "iPad Air (4th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "4F66A7A7-F0BB-4D04-A9A9-F37948941A72",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-8-2",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,10",
                        "identifier" : "6AB93459-0F2D-401C-8ED1-8FC54E01D771",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-pro-12point9-5th-1",
                        "modelName" : "iPad Pro (12.9-inch) (5th generation)",
                        "name" : "iPad Pro (12.9-inch) (5th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone13,1",
                        "identifier" : "218381A2-CED5-4D00-A56B-4CEF10296371",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-12-mini-1",
                        "modelName" : "iPhone 12 mini",
                        "name" : "iPhone 12 mini"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "7.4 (18T187)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch6,1",
                        "identifier" : "D7167C8F-749A-40F5-A3BA-69ABA87629DD",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.watch-series6-1",
                        "modelName" : "Apple Watch Series 6 - 40mm",
                        "name" : "Apple Watch Series 6 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "A3D455D5-60E1-4BEA-8448-F3FFD6E1C664",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-11-pro-1",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone13,2",
                        "identifier" : "1CCA13EB-4B08-434F-8C05-4F6CF3B2B712",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-12-1",
                        "modelName" : "iPhone 12",
                        "name" : "iPhone 12"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.5 (18E182)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "9030D0E7-BE0F-4CAF-AE59-BDEA35C798B7",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
                        "modelName" : "iPad Pro (9.7-inch)",
                        "name" : "iPad Pro (9.7-inch)"
                      }
                    ]

                    objc[18750]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x207966c10) and
                    /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1047902b8). One of the two will be used. Which one
                    is undefined.
                    objc[18750]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x207966c60) and
                    /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104790308). One of the two will be used. Which one
                    is undefined.
[  +40 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +109 ms] Skipping pub get: version match.
[ +168 ms] Generating /Users/vineethpalani/Documents/Github/testmenu/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +219 ms] Launching lib/main.dart on Chrome in release mode...
[ +142 ms] Compiling lib/main.dart for the Web...
[   +7 ms] Initializing file store
[   +4 ms] Done initializing file store
[  +58 ms] Skipping target: web_entrypoint
[   +2 ms] Skipping target: gen_localizations
[ +208 ms] Skipping target: dart2js
[  +42 ms] Skipping target: web_release_bundle
[  +19 ms] Skipping target: web_service_worker
[   +1 ms] Persisting file store
[   +7 ms] Done persisting file store
[  +19 ms] Compiling lib/main.dart for the Web... (completed in 358ms)
[  +76 ms] Using Google Chrome 91.0.4472.114 

[+1688 ms] [CHROME]:
[   +9 ms] [CHROME]:DevTools listening on ws://127.0.0.1:58484/devtools/browser/c0b0b2ad-4b20-47b2-82a4-46b895dadc58
[ +692 ms] 🔥  To hot restart changes while running, press "r" or "R".
[   +3 ms] For a more detailed help message, press "h". To quit, press "q".
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing testmenu...                                                   

   info • The value of the field '_counter' isn't used • lib/main.dart:50:7 • unused_field

1 issue found. (ran in 1.5s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-arm, locale en-CA)
    • Flutter version 2.2.1 at /Users/vineethpalani/flutter
    • Framework revision 02c026b03c (4 weeks ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/vineethpalani/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

• No issues found!
```

</details>