Upgrading dart_flutter_team_lints 2 to 3
Breaking2.1.1 → 3.5.2Breaking1Platform5New6Changed4Other1
BreakingUpgrade verdict
1 breaking change and 5 platform requirement changes.
In plain terms
- A lint rule that flagged ignored asynchronous calls has been removed, so projects will no longer get those warnings.
- You need Dart 3.8 or newer to use this version.
- You must use Dart 3.7 or newer to use this package version.
- You need Dart 3.5 or newer to use this version of the package.
Must act Top 4 of 6 that need code or config changes
Dart SDK requirement changed in 3.5.2: ^3.0.0 → ^3.8.0.
Moves lints ^3.0.0 → ^6.0.0. Your build may pick other versions.
What you must change
Breaking1
Removes the
discarded_futures lint rule because it produced more results than expected.discarded_futuresPlatform5
Require Dart 3.8.
Requires Dart 3.7 or later.
Requires Dart 3.5.
Requires Dart 3.4 or later.
Requires Dart 3.1.0 or later.