skip to Main Content

How to solve this problem. When I run flutter pub get this error will be shown. I have changed the environment:
sdk: ">=2.12.0 <3.0.6" but this error is still the same. I tried running the flutter clean flutter upgrade but still can’t solve this issue. What should I do?
enter image description here

enter image description here

2

Answers


  1. You need to do either downgrade flutter version or need to update animated_floatbutton plugin for latest flutter version.because this plugin version not supported for flutter version 2.12.0

    Login or Signup to reply.
  2. The package specified in the issue (animated_floatactionbuttons) should be upgraded to a version that is compatible with your current Dart SDK version.

    The animated_floatactionbuttons version is not null safety enabled while your SDK version is null safety enabled.

    Solution will be to upgrade the aimated_floatactionbuttons package version to a version that meet your current Dart SDK requirements. If there are no updated version of this package, then I think you need to find an alternative package to make use of.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search