From Flutter Helper Utils
Audits and sequences flutter_helper_utils upgrades across v7/v8/v8.5/v9, detecting installed version, applying migration hops, and running tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flutter-helper-utils:upgrade-flutter-helper-utilsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Version-aware audit. Determine the CURRENT resolved version first, apply
Version-aware audit. Determine the CURRENT resolved version first, apply only the hops that cross it, and verify with the project's own tests.
grep -n "flutter_helper_utils" pubspec.yaml # declared constraint
grep -A2 " flutter_helper_utils:" pubspec.lock # resolved version
If the resolved version already equals the target: report "no migration needed" and stop (do not invent work).
| From | To | Size | What changes |
|---|---|---|---|
| 7.x | 8.0 | medium | SingleAxisWrap extracted to the single_axis_wrap package (param renames: preferredDirection to primaryDirection, MainAxisAlignment to WrapAlignment, per-axis params collapsed - table in the repo's migration_guides.md); dart_helper_utils jumped to v5 (Object conversion helpers removed, addOrRemoveYears to addOrSubtractYears) |
| 8.0-8.4 | 8.5 | small | TypedListView.itemBuilder became (context, index, item); headerBuilder/footerBuilder became header/footer widget slots; new spacing, emptyBuilder, showScrollbar, onEndReached, itemKeyBuilder |
| 8.x | 9.x | LARGE | use the dedicated migrate-flutter-helper-utils-v8-to-v9 skill (notifier extraction, color add* to set*, navigation renames, dataWhen to when, dart_helper_utils v6 cascade) |
| 9.0 | 9.1 | none | additive: scrollCacheExtent (ScrollCacheExtent.pixels/.viewport); numeric cacheExtent deprecated but still works |
| 9.1 | 9.2 | none | additive: popPage/forcePopPage; maybePopPage deprecated (rename now, removal planned v10) |
| 9.2.x | 9.2.y | none | patch releases are docs/tooling unless the CHANGELOG says otherwise - read it first |
Shortcut when crossing several majors: pre-8.5 TypedListView call sites
can be rewritten once, directly to the current signature. Versions below
7.x predate the repo's migration guides - diff against the pub.dev
CHANGELOG (https://pub.dev/packages/flutter_helper_utils/changelog) and
treat every "Breaking" bullet as its own hop.
flutter pub get (or
flutter pub upgrade flutter_helper_utils).flutter analyze and run the full test suite; compare failures against
the pre-upgrade baseline (record it first).>=3.11.0, Flutter >=3.41.0, and
dart_helper_utils ^6; a direct dependency pinning dart_helper_utils <6
(or an old SDK) blocks resolution.npx claudepluginhub omar-hanafy/flutter_helper_utils --plugin flutter-helper-utilsMigrates Flutter projects from flutter_helper_utils v8 to v9, handling removed APIs like notifier utilities, color methods, navigation, and imports.
Safely updates Flutter dependencies by analyzing pubspec.yaml, checking for breaking changes, and providing upgrade plans. Triggered by phrases like '更新 Flutter 套件' or '更新 pubspec.yaml'.
Atualiza dependências Flutter com análise de risco. Útil para migrações seguras de pacotes do pubspec.yaml.