Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Desktop] Button's onPressed not called when mouse cursor moves while clicking #59142

Open
orestesgaolin opened this issue Jun 10, 2020 · 12 comments
Labels
a: desktop Running on desktop a: mouse Issues related to using a mouse or mouse support f: gestures flutter/packages/flutter/gestures repository. f: material design flutter/packages/flutter/material repository. found in release: 3.3 Found to occur in 3.3 found in release: 3.7 Found to occur in 3.7 framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list team-framework Owned by Framework team

Comments

@orestesgaolin
Copy link
Contributor

Steps to Reproduce

  1. Run this snippet https://dartpad.dartlang.org/e266424c9732b88c4578560dbdf7ecb6
  2. Click the button to see the output in the console
  3. Now click (ripple is visible), but not release while dragging the mouse cursor a bit, then release while still within the button's bounds - the onPressed callback is not executed (see gif for reference)

CleanShot 2020-06-10 at 10 16 46

RaisedButton(
  child: Text(
      'Drag and release instead of single click to see that Im not working'),
  onPressed: () {
    print('clicked');
  },
  onLongPress: (){
    print('long press');
  },
),

Expected results:

I expect my RaisedButton to behave the same way as typical HTML button (e.g. "Run" button on Dartpad). Slight movement of my cursor shouldn't cancel the action.

Actual results:

The onPressed is not executed when there's a slight movement of cursor when clicking the button.

[✓] Flutter (Channel dev, 1.19.0-4.0.pre, on Mac OS X 10.15.5 19F101, locale pl-PL)
    • Flutter version 1.19.0-4.0.pre at /Users/dominik/fvm/versions/dev
    • Framework revision 2f7a59a8da (5 days ago), 2020-06-05 03:44:02 -0700
    • Engine revision d17c84e7af
    • Dart version 2.9.0 (build 2.9.0-13.0.dev 02915ec5ce)


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/dominik/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/dominik/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.97

• No issues found!
@iapicca
Copy link
Contributor

iapicca commented Jun 10, 2020

HI @orestesgaolin
testing your code sample with the latest master

logs
[ +212 ms] executing: [/Users/nevercode/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +110 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d9653445f4d1257b5f5adb4b271d1316469e8cf1
[   +1 ms] executing: [/Users/nevercode/development/flutter_master/] git tag --contains HEAD
[ +779 ms] Exit code 0 from: git tag --contains HEAD
[   +7 ms] executing: [/Users/nevercode/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[  +58 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] 1.19.0-5.0.pre-42-gd9653445f
[  +17 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/nevercode/development/flutter_master/] git ls-remote --get-url origin
[  +18 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +90 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +20 ms] executing: sw_vers -productName
[  +29 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +31 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.5
[        ] executing: sw_vers -buildVersion
[  +29 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19F101
[  +85 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[  +25 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.
[  +34 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] executing: /usr/bin/xcode-select --print-path
[  +15 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[   +1 ms] /Applications/Xcode.app/Contents/Developer
[   +2 ms] executing: /usr/bin/xcodebuild -version
[+1319 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.5
           Build version 11E608c
[  +10 ms] executing: xcrun --find xcdevice
[  +18 ms] Exit code 0 from: xcrun --find xcdevice
[        ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[        ] executing: xcrun xcdevice list --timeout 2
[   +8 ms] /usr/bin/xcrun simctl list --json devices
[        ] executing: /usr/bin/xcrun simctl list --json devices
[  +97 ms] List of devices attached
           965AY0WP5C             device usb:337641472X product:sargo model:Pixel_3a device:sargo transport_id:2
[ +147 ms] {
                      "devices" : {
                        "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/EC36E756-A136-4E6B-9C88-129CC92C1919\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/EC36E756-A136-4E6B-9C88-129CC92C1919",
                            "udid" : "EC36E756-A136-4E6B-9C88-129CC92C1919",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                            "state" : "Shutdown",
                            "name" : "Apple TV"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/0C953880-E3B0-4D9A-877F-A37A7DABFEAE\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/0C953880-E3B0-4D9A-877F-A37A7DABFEAE",
                            "udid" : "0C953880-E3B0-4D9A-877F-A37A7DABFEAE",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K",
                            "state" : "Shutdown",
                            "name" : "Apple TV 4K"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/37D9BC62-18F2-4AAF-9E1A-FAB4DFADF9BF\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/37D9BC62-18F2-4AAF-9E1A-FAB4DFADF9BF",
                            "udid" : "37D9BC62-18F2-4AAF-9E1A-FAB4DFADF9BF",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p",
                            "state" : "Shutdown",
                            "name" : "Apple TV 4K (at 1080p)"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.watchOS-6-2" : [
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/513A7FAE-39EF-45A9-9A3D-29AB6C1FD9D1\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/513A7FAE-39EF-45A9-9A3D-29AB6C1FD9D1",
                            "udid" : "513A7FAE-39EF-45A9-9A3D-29AB6C1FD9D1",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 4 - 40mm"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/2E2DDA49-A3C8-42E3-9CEB-7C91211143DA\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/2E2DDA49-A3C8-42E3-9CEB-7C91211143DA",
                            "udid" : "2E2DDA49-A3C8-42E3-9CEB-7C91211143DA",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 4 - 44mm"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/40536F46-47C0-4DDA-BF19-D88BFA62473F\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/40536F46-47C0-4DDA-BF19-D88BFA62473F",
                            "udid" : "40536F46-47C0-4DDA-BF19-D88BFA62473F",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 5 - 40mm"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/F111D2AA-E063-4364-8229-2D585B2D21E6\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/F111D2AA-E063-4364-8229-2D585B2D21E6",
                            "udid" : "F111D2AA-E063-4364-8229-2D585B2D21E6",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 5 - 44mm"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/D5F70F31-B488-4454-9539-320B5551D92A\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/D5F70F31-B488-4454-9539-320B5551D92A",
                            "udid" : "D5F70F31-B488-4454-9539-320B5551D92A",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                            "state" : "Shutdown",
                            "name" : "iPhone 8"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/62B827A3-68BD-46BD-8E92-DE5297DF3840\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/62B827A3-68BD-46BD-8E92-DE5297DF3840",
                            "udid" : "62B827A3-68BD-46BD-8E92-DE5297DF3840",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                            "state" : "Shutdown",
                            "name" : "iPhone 8 Plus"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/D1B95CB0-D10B-4983-9AFE-6DB7C4006D15\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/D1B95CB0-D10B-4983-9AFE-6DB7C4006D15",
                            "udid" : "D1B95CB0-D10B-4983-9AFE-6DB7C4006D15",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                            "state" : "Shutdown",
                            "name" : "iPhone 11"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/8B67BA47-2EED-4956-B383-17112E09F7BC\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/8B67BA47-2EED-4956-B383-17112E09F7BC",
                            "udid" : "8B67BA47-2EED-4956-B383-17112E09F7BC",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                            "state" : "Shutdown",
                            "name" : "iPhone 11 Pro"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/A1664A8D-8DB6-4659-B012-18746A2DB8C3\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/A1664A8D-8DB6-4659-B012-18746A2DB8C3",
                            "udid" : "A1664A8D-8DB6-4659-B012-18746A2DB8C3",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                            "state" : "Shutdown",
                            "name" : "iPhone 11 Pro Max"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/A7BC437A-C1AB-4DDC-B723-5BC2411FF606\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/A7BC437A-C1AB-4DDC-B723-5BC2411FF606",
                            "udid" : "A7BC437A-C1AB-4DDC-B723-5BC2411FF606",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (9.7-inch)"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/50905834-EA49-46D1-9282-2BFD80B002C9\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/50905834-EA49-46D1-9282-2BFD80B002C9",
                            "udid" : "50905834-EA49-46D1-9282-2BFD80B002C9",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad (7th generation)"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/C37B8020-20B5-44D3-BB6B-1E34569A3E57\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/C37B8020-20B5-44D3-BB6B-1E34569A3E57",
                            "udid" : "C37B8020-20B5-44D3-BB6B-1E34569A3E57",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (11-inch)"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/BBD1E939-BE74-444C-825D-6DA528EF37D0\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/BBD1E939-BE74-444C-825D-6DA528EF37D0",
                            "udid" : "BBD1E939-BE74-444C-825D-6DA528EF37D0",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (12.9-inch) (3rd generation)"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/609AAB06-1510-466F-82F8-1951E7EAFCD2\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/609AAB06-1510-466F-82F8-1951E7EAFCD2",
                            "udid" : "609AAB06-1510-466F-82F8-1951E7EAFCD2",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad Air (3rd generation)"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.watchOS-6-1" : [
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/7F389A7F-C267-412A-8DB8-63A83386A06F\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/7F389A7F-C267-412A-8DB8-63A83386A06F",
                            "udid" : "7F389A7F-C267-412A-8DB8-63A83386A06F",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 4 - 40mm"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/3568E5A3-98A0-414B-9A79-5CC234FA6E2B\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/3568E5A3-98A0-414B-9A79-5CC234FA6E2B",
                            "udid" : "3568E5A3-98A0-414B-9A79-5CC234FA6E2B",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 4 - 44mm"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/3B543693-444A-4E3D-BD8A-9BD2AE2EDD2F\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/3B543693-444A-4E3D-BD8A-9BD2AE2EDD2F",
                            "udid" : "3B543693-444A-4E3D-BD8A-9BD2AE2EDD2F",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 5 - 40mm"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/AF6A4F31-535E-4FE6-A062-49A81AB5AAE3\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/AF6A4F31-535E-4FE6-A062-49A81AB5AAE3",
                            "udid" : "AF6A4F31-535E-4FE6-A062-49A81AB5AAE3",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                            "state" : "Shutdown",
                            "name" : "Apple Watch Series 5 - 44mm"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.tvOS-13-3" : [
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/8EC4E84F-BA3E-4251-8351-8324AC08E126\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/8EC4E84F-BA3E-4251-8351-8324AC08E126",
                            "udid" : "8EC4E84F-BA3E-4251-8351-8324AC08E126",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                            "state" : "Shutdown",
                            "name" : "Apple TV"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/8FFD5279-9EEA-49AE-83CA-8736CB3E61AB\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/8FFD5279-9EEA-49AE-83CA-8736CB3E61AB",
                            "udid" : "8FFD5279-9EEA-49AE-83CA-8736CB3E61AB",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K",
                            "state" : "Shutdown",
                            "name" : "Apple TV 4K"
                          },
                          {
                            "availabilityError" : "runtime profile not found",
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/8A1D2EC5-B2B9-474D-81DF-E6A3D0DB84EF\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/8A1D2EC5-B2B9-474D-81DF-E6A3D0DB84EF",
                            "udid" : "8A1D2EC5-B2B9-474D-81DF-E6A3D0DB84EF",
                            "isAvailable" : false,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p",
                            "state" : "Shutdown",
                            "name" : "Apple TV 4K (at 1080p)"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-5" : [
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/7F3843AE-BE14-48F3-BEE4-FF1634FBDB34\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/7F3843AE-BE14-48F3-BEE4-FF1634FBDB34",
                            "udid" : "7F3843AE-BE14-48F3-BEE4-FF1634FBDB34",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                            "state" : "Shutdown",
                            "name" : "iPhone 8"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/7C02B0B6-6CAC-4CD1-8F47-76745E6EEAB1\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/7C02B0B6-6CAC-4CD1-8F47-76745E6EEAB1",
                            "udid" : "7C02B0B6-6CAC-4CD1-8F47-76745E6EEAB1",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                            "state" : "Shutdown",
                            "name" : "iPhone 8 Plus"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/AA1DEF4C-021F-470E-AAC2-4C5608C451F0\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/AA1DEF4C-021F-470E-AAC2-4C5608C451F0",
                            "udid" : "AA1DEF4C-021F-470E-AAC2-4C5608C451F0",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                            "state" : "Shutdown",
                            "name" : "iPhone 11"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/3723DA73-28EE-4B88-803C-A5C7974BBD75\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/3723DA73-28EE-4B88-803C-A5C7974BBD75",
                            "udid" : "3723DA73-28EE-4B88-803C-A5C7974BBD75",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                            "state" : "Shutdown",
                            "name" : "iPhone 11 Pro"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/D6967F45-CB0F-4D4E-AFD5-278816A21CAE\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/D6967F45-CB0F-4D4E-AFD5-278816A21CAE",
                            "udid" : "D6967F45-CB0F-4D4E-AFD5-278816A21CAE",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                            "state" : "Shutdown",
                            "name" : "iPhone 11 Pro Max"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/96856728-4BA4-47CD-A70E-4AB604D0D5B6\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/96856728-4BA4-47CD-A70E-4AB604D0D5B6",
                            "udid" : "96856728-4BA4-47CD-A70E-4AB604D0D5B6",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                            "state" : "Booted",
                            "name" : "iPhone SE (2nd generation)"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/35451219-2F4C-4239-88EB-B397B37D52AD\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/35451219-2F4C-4239-88EB-B397B37D52AD",
                            "udid" : "35451219-2F4C-4239-88EB-B397B37D52AD",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (9.7-inch)"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/03FBE833-4381-4C8C-BC8B-293215052BA8\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/03FBE833-4381-4C8C-BC8B-293215052BA8",
                            "udid" : "03FBE833-4381-4C8C-BC8B-293215052BA8",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad (7th generation)"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/B03B5A87-A215-461D-8EB8-6730F8EC998D\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/B03B5A87-A215-461D-8EB8-6730F8EC998D",
                            "udid" : "B03B5A87-A215-461D-8EB8-6730F8EC998D",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (11-inch) (2nd generation)"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/5DFD3587-1811-4F63-A1B5-3B8643B7A910\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/5DFD3587-1811-4F63-A1B5-3B8643B7A910",
                            "udid" : "5DFD3587-1811-4F63-A1B5-3B8643B7A910",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad Pro (12.9-inch) (4th generation)"
                          },
                          {
                            "dataPath" : "\/Users\/nevercode\/Library\/Developer\/CoreSimulator\/Devices\/857B7261-5C8E-4550-8B12-F1E578A5FA54\/data",
                            "logPath" : "\/Users\/nevercode\/Library\/Logs\/CoreSimulator\/857B7261-5C8E-4550-8B12-F1E578A5FA54",
                            "udid" : "857B7261-5C8E-4550-8B12-F1E578A5FA54",
                            "isAvailable" : true,
                            "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                            "state" : "Shutdown",
                            "name" : "iPad Air (3rd generation)"
                          }
                        ]
                      }
                    }
[+4602 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2.1 (17T531)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,4",
                        "identifier" : "2E2DDA49-A3C8-42E3-9CEB-7C91211143DA",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 44mm",
                        "name" : "Apple Watch Series 4 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,12",
                        "identifier" : "5DFD3587-1811-4F63-A1B5-3B8643B7A910",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-pro-12point9-4th-1",
                        "modelName" : "iPad Pro (12.9-inch) (4th generation)",
                        "name" : "iPad Pro (12.9-inch) (4th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,3",
                        "identifier" : "857B7261-5C8E-4550-8B12-F1E578A5FA54",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-air3-wifi-1",
                        "modelName" : "iPad Air (3rd generation)",
                        "name" : "iPad Air (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "37D9BC62-18F2-4AAF-9E1A-FAB4DFADF9BF",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K (at 1080p)",
                        "name" : "Apple TV 4K (at 1080p)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "7F3843AE-BE14-48F3-BEE4-FF1634FBDB34",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-2",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "0C953880-E3B0-4D9A-877F-A37A7DABFEAE",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K",
                        "name" : "Apple TV 4K"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "D6967F45-CB0F-4D4E-AFD5-278816A21CAE",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-max-1",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "EC36E756-A136-4E6B-9C88-129CC92C1919",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2.1 (17T531)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "40536F46-47C0-4DDA-BF19-D88BFA62473F",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,9",
                        "identifier" : "B03B5A87-A215-461D-8EB8-6730F8EC998D",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-pro-11-2nd-1",
                        "modelName" : "iPad Pro (11-inch) (2nd generation)",
                        "name" : "iPad Pro (11-inch) (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2.1 (17T531)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "F111D2AA-E063-4364-8229-2D585B2D21E6",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad7,12",
                        "identifier" : "03FBE833-4381-4C8C-BC8B-293215052BA8",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-7-wwan-1",
                        "modelName" : "iPad (7th generation)",
                        "name" : "iPad (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "3723DA73-28EE-4B88-803C-A5C7974BBD75",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-1",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "35451219-2F4C-4239-88EB-B397B37D52AD",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
                        "modelName" : "iPad Pro (9.7-inch)",
                        "name" : "iPad Pro (9.7-inch)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "7C02B0B6-6CAC-4CD1-8F47-76745E6EEAB1",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-plus-2",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2.1 (17T531)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,3",
                        "identifier" : "513A7FAE-39EF-45A9-9A3D-29AB6C1FD9D1",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 40mm",
                        "name" : "Apple Watch Series 4 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,8",
                        "identifier" : "96856728-4BA4-47CD-A70E-4AB604D0D5B6",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-se-1",
                        "modelName" : "iPhone SE (2nd generation)",
                        "name" : "iPhone SE (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.5 (17F61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "AA1DEF4C-021F-470E-AAC2-4C5608C451F0",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-1",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      }
                    ]
[  +23 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +5 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.
[ +399 ms] Generating /Users/nevercode/Desktop/projects/master/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +332 ms] Launching lib/main.dart on Chrome in debug mode...
[  +80 ms] Updating assets
[ +215 ms] Syncing files to device Chrome...
[  +82 ms] Generating /Users/nevercode/Desktop/projects/master/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +54 ms] <- reset
[  +10 ms] /Users/nevercode/development/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/nevercode/development/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true
--output-dill /var/folders/c3/l5jpznsj5k37yrj47l__xpw40000gn/T/flutter_tools.QbPwdG/flutter_tool.JAV1eA/app.dill --libraries-spec
file:///Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-root /var/folders/c3/l5jpznsj5k37yrj47l__xpw40000gn/T/flutter_tools.QbPwdG/flutter_tools.f49ULK --filesystem-scheme org-dartlang-app
--initialize-from-dill build/cache.dill.track.dill --platform file:///Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +24 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+22924 ms] Syncing files to device Chrome... (completed in 23,077ms, longer than expected)
[   +4 ms] Synced 21.8MB.
[   +3 ms] <- accept
[   +1 ms] Caching compiled dill
[+1383 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://127.0.0.1:57514/devtools/browser/a7419f45-55f1-4d1b-8e51-96c83e7204a8
[+4837 ms] Debug service listening on ws://127.0.0.1:57541/oWq9VZe_P18=

[ +900 ms] Debug service listening on ws://127.0.0.1:57541/oWq9VZe_P18=
[   +3 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[   +1 ms] 🔥  To hot restart changes while running, press "r" or "R".
[   +2 ms] For a more detailed help message, press "h". To quit, press "q".
[+8427 ms] clicked
doctor
[✓] Flutter (Channel master, 1.19.0-6.0.pre.42, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.19.0-6.0.pre.42 at /Users/nevercode/development/flutter_master
    • Framework revision d9653445f4 (10 hours ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • Pixel 3a                   • 965AY0WP5C                           • android-arm64  • Android 10 (API 29)
    • iPhone SE (2nd generation) • 96856728-4BA4-47CD-A70E-4AB604D0D5B6 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • Web Server                 • web-server                           • web-javascript • Flutter Tools
    • Chrome                     • chrome                               • web-javascript • Google Chrome 83.0.4103.97

• No issues found!

I can see the behaviour you are describing
Thank you

@iapicca iapicca added a: mouse Issues related to using a mouse or mouse support f: gestures flutter/packages/flutter/gestures repository. f: material design flutter/packages/flutter/material repository. found in release: 1.19 Found to occur in 1.19 framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-web Web applications specifically labels Jun 10, 2020
@yjbanov yjbanov added a: desktop Running on desktop P1 High-priority issues at the top of the work list P2 Important issues not at the top of the work list and removed P1 High-priority issues at the top of the work list labels Jun 11, 2020
@ciriousjoker
Copy link

For me it's the complete opposite...

I have an IconButton with onPressed(), that's only triggered when I do this:

  1. Mousebutton down
  2. Wait until ripple starts
  3. Move mouse to another position inside the button
  4. Release mouse button

If I do it any other way (for example skip step 3), it will not work

@ShuoHuang
Copy link

So there is no solution yet?I have the same problem on MacOS.

@JakubNeukirch
Copy link

I have the same problem

@JakubNeukirch
Copy link

I found solution but it does not work with OPs example. I had similar issue but with IconButton. I Wrapped child of a button with IgnorePointer and it started working:
IconButton( enableFeedback: false, icon: IgnorePointer(child: Icon(Icons.menu)), visualDensity: VisualDensity.comfortable, onPressed: _incrementCounter, )

@pedromassangocode
Copy link

Reproducible on latest master channel.

flutter doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.117, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.117 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 15c009b805 (9 hours ago), 2020-12-22 20:09:03 -0500
    • Engine revision b7cd3f8e70
    • Dart version 2.12.0 (build 2.12.0-173.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0

@pedromassangocode pedromassangocode added found in release: 1.26 Found to occur in 1.26 and removed found in release: 1.19 Found to occur in 1.19 labels Dec 23, 2020
@yuzurihaaa
Copy link

Not sure if related, but I have complains where the button is not sensitive on iPad. The iPad is placed vertically so there might be chance where user will slightly move the fingers when clicking. This happened randomly.

If I tap the button and release in 90 degree, the click is triggered, but if there's slight slide on the button, the click is not triggered.

@one1note
Copy link

one1note commented Apr 7, 2022

Any update?

@danagbemava-nc
Copy link
Member

Reproduces on the latest versions of flutter

recording
Screen.Recording.2022-12-29.at.09.48.45.mov
updated sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

/// This Widget is the main application widget.
class MyApp extends StatelessWidget {
  static const String _title = 'Flutter Code Sample';

  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: _title,
      home: MyStatelessWidget(),
    );
  }
}

/// This is the stateless widget that the main application instantiates.
class MyStatelessWidget extends StatelessWidget {
  const MyStatelessWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return DefaultTextStyle(
      style: Theme.of(context).textTheme.bodyMedium!,
      child: LayoutBuilder(
        builder: (BuildContext context, BoxConstraints viewportConstraints) {
          return SingleChildScrollView(
            child: ConstrainedBox(
              constraints: BoxConstraints(
                minHeight: viewportConstraints.maxHeight,
              ),
              child: IntrinsicHeight(
                child: Column(
                  children: <Widget>[
                    ElevatedButton(
                      child: const Text(
                          'Drag and release instead of single click to see that Im not working'),
                      onPressed: () {
                        print('clicked');
                      },
                    ),
                  ],
                ),
              ),
            ),
          );
        },
      ),
    );
  }
}
flutter doctor -v
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale en-GB)
    • Flutter version 3.3.10 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (2 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • 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.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 16.2 20C65
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 13.1 22C65 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
[!] Flutter (Channel master, 3.7.0-13.0.pre.109, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.7.0-13.0.pre.109 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bdefebcf73 (4 hours ago), 2022-12-29 00:46:32 -0500
    • Engine revision 9b534a5f88
    • Dart version 3.0.0 (build 3.0.0-71.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • 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.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 16.2 20C65
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@danagbemava-nc danagbemava-nc added found in release: 3.3 Found to occur in 3.3 found in release: 3.7 Found to occur in 3.7 and removed platform-web Web applications specifically found in release: 1.26 Found to occur in 1.26 labels Dec 29, 2022
@danagbemava-nc danagbemava-nc changed the title [Web] Button's onPressed not called when mouse cursor moves while clicking [Desktop] Button's onPressed not called when mouse cursor moves while clicking Dec 29, 2022
@vixez
Copy link

vixez commented Mar 14, 2023

This is also on web. If your mouse is perfectly still the click works, if you click and quickly move a little it does not register the click.

@rossixolit
Copy link

Just a quick note, that this is not desktop-only, we had the same problem as yuzurihaa mentioned on an iPad.
(And for anyone looking for a workaround: We wrapped our buttons in a Listener with "onPointerDown").

@flutter-triage-bot
Copy link

The triaged-desktop label is irrelevant if there is no team-desktop label or fyi-desktop label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: desktop Running on desktop a: mouse Issues related to using a mouse or mouse support f: gestures flutter/packages/flutter/gestures repository. f: material design flutter/packages/flutter/material repository. found in release: 3.3 Found to occur in 3.3 found in release: 3.7 Found to occur in 3.7 framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list team-framework Owned by Framework team
Projects
None yet
Development

No branches or pull requests