use flutter downgrade to 1.22.6 code example Example: flutter downgrade version flutter downgrade v1.22.6