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
It is because
useMaterial3
flag is now turned totrue
by default. You can manually turn it tofalse
in yourThemeData
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.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.