Used to resolve warnings caused by xxxbinding. Instance in Flutter 3.0

Resolved the warning of 'xxxbinding. Instance' in 3.0, compatible with previous versions

Usage

Add dependence:

    dart pub add upgrade_tool

Directly run this command :

    dart run upgrade_tool

All the positions are automatically changed

image

Note that original dependencies are not removed by default,If you need to remove it, you can add the -remove argument, may cause your dependency error

After the migration, you can remove the upgrade_tool dependency

Libraries