Published on

Solution for “Error: The argument type ‘PointerEvent’ can’t be assigned to the parameter type ‘PointerDownEvent’”

Problem: Running into the following error when trying to use the flutter_colorpicker package in Flutter applications:

Solution: This error is caused by an incorrect version of the flutter_colorpicker package. To fix it, change the flutter_colorpicker package version to 0.5.0 in your pubspec.yaml file like so:


Thanks for reading this blog post!

If you have any questions or concerns please feel free to post a comment in this post and I will get back to you when I find the time.

If you found this article helpful please share it and make sure to follow me on Twitter and GitHub, connect with me on LinkedIn and subscribe to my YouTube channel.