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

'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'. #256

Open
cbalmeida opened this issue Feb 20, 2022 · 1 comment

Comments

@cbalmeida
Copy link

Any solution?

Running Gradle task 'assembleDebug'...
../../../.pub-cache/hosted/pub.dartlang.org/flutter_colorpicker-0.4.0/lib/src/hsv_picker.dart:731:29: Error: The argument type 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'.

  • 'PointerEvent' is from 'package:flutter/src/gestures/events.dart' ('../../../flutter/packages/flutter/lib/src/gestures/events.dart').
  • 'PointerDownEvent' is from 'package:flutter/src/gestures/events.dart' ('../../../flutter/packages/flutter/lib/src/gestures/events.dart').
    super.addAllowedPointer(event);
@catteneo
Copy link

Same here..
Running the example with the flag to ignore deprecation from embedding Android v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants