skip to Main Content

i want to upgrade flutter version to 3.22

any trick to do that easily? without upgrade all libraries

Flutter 3.22 brings significant updates and fixes to the Material Design system, enhancing the user experience and providing developers with more tools and flexibility to create stunning applications.

because of this update all libraries that dosent updated for 1 year must be updated or changed manually to support new update changes

any fast fix?

2

Answers


  1. It is because useMaterial3 flag is now turned to true by default. You can manually turn it to false in your ThemeData definition, and it should fix your issue. Note that this flag might be removed in a near future, so this "hack" probably won’t work next time you’ll upgrade your Flutter version, be prepared.

    Login or Signup to reply.
  2. The only way to solve this is to ask the publisher to make changes or you can fork the git repository and make changes as per your need and move to further usages.

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