Reputation: 5022
I search a solution to upgrade my flutter app, but I have some package no longer maintained. I'm lock. So how can I merge last version packages to migrate null safety by myself ?
Possible ?
Upvotes: 0
Views: 32
Reputation: 11496
In the tabs on the right, look for the Metadata section. Click the "Repository (Github)" link.
Fork the repository, clone the repo to your local machine and migrate the package to null-safety.
When done, push the local repository to Github.
In your pubspec.yaml, remove the reference to the old package and replace it with the migrated version:
PACKAGE_NAME:
git:
url: git://github.com/YOUR_USERNAME/PACKAGE_NAME.git
ref: main
Upvotes: 2