KYflutterrookie
KYflutterrookie

Reputation: 47

How to solve the error after upgrading flutter?

After I update flutter the terminal in flutter gives out the following message,

../../.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'.

How could I solve the problem?

Upvotes: 2

Views: 241

Answers (1)

Sandip
Sandip

Reputation: 593

  • Goto .pub-cache/hosted/pub.dartlang.org/ Folder.
  • Delete folder flutter_colorpicker-0.4.0
  • Try to Pug get again.

Thanks

Upvotes: 1

Related Questions