cometchat-flutter-v6-migration
Ground truth: the removed-symbol map in
references/migration-guide.mdis derived from a REAL diff — every prior-pack symbol was compiled against the published 6.1.0, and the 45 that no longer resolve are recorded with their replacement (COVERAGE-flutter-v6.md). v6 target symbols are catalog-verified. The prop-by-prop table is FETCHED fromupgrading-from-v5. Transform the user's code — never wipe it; work on a branch and confirm before bulk edits.
Companion skills (read first)
cometchat-flutter-v6-core— the v6 init/login/render the migrated app lands on. This skill ASSUMES it.cometchat-flutter-v6-components— the v6 widget catalog (the target names).
Use this skill when
"upgrade my v5 UI Kit to v6", "migrate CometChat Flutter v5→v6", "bump cometchat_chat_uikit". Precondition: the project currently has cometchat_chat_uikit ^5.
Prerequisites & install
A clean branch. Then flutter pub add cometchat_chat_uikit:^6.1.0 (and cometchat_calls_sdk:^5.0.4 if the app calls). Remove cometchat_uikit_shared and cometchat_calls_uikit — neither exists as a package in v6; calling now ships inside the chat package behind a second barrel.
Expect pub get to fail once on a peer constraint. The kit tightens transitive pins (e.g. 6.1.0 needs permission_handler ^12, so an app on ^11 will not resolve). Bump the app's pin to what the solver names — never downgrade the kit to fit the app.