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

older flutter_colorpicker is not supportable with flutter 2.5, so update it. #48

Open
ash720 opened this issue Nov 15, 2021 · 1 comment

Comments

@ash720
Copy link

ash720 commented Nov 15, 2021

I am facing this error. Help me out of this

/Flutter_SDK/.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' ('/D:/Flutter_SDK/packages/flutter/lib/src/gestures/events.dart').
  • 'PointerDownEvent' is from 'package:flutter/src/gestures/events.dart' ('/D:/Flutter_SDK/packages/flutter/lib/src/gestures/events.dart').
    super.addAllowedPointer(event);
    ^
@jackeychina
Copy link

I have resolved it. You can download it from here - https://drive.google.com/file/d/1DV1OsriI0su3Is13j65NpOpabRlOhDTZ/view?usp=sharing

Now it will work with flutter 2.5

Enjoy :)

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