Search code examples
flutterdio

How to make dio retry on flutter 2.0


I'm using dio_retry ^0.1.9-beta it work on flutter v1.22.4 but flutter v2.0.0

When the library is not yet supported, I want to do it manual.

Has anyone done this yet?

I need everyone's advice


Solution

  • You can download library to local and migrate manual at https://dart.dev/null-safety/migration-guide

    Then add library migrated to project as library local.