Upgrade i zapisz pubspec i zapisz pubspec

flutter pub upgrade --major-versions
Wicked Wildebeest