Fork flutter_udid on GitHub.
In your fork, change jcenter()
→ mavenCentral()
.
Reference your fork in pubspec.yaml
:
dependencies:
flutter_udid:
git:
url: paste your forked repo url
ref: main
now your project will now use your modified fork rather than the original package from pub.dev