fix: 4.0.0 bug fixes, CI, example app and smaller package - #136
Merged
Merged
Conversation
CLAUDE.md now only imports AGENTS.md, so Claude and Codex read the same file. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Bug fixes: - ignorePointer docs were inverted (#133) - BadgeStyle.elevation drew no shadow since 3.0.3; default is now 0 - center() + onTap jumped to the child's top-left corner - centerStart()/centerEnd() were not vertically centered - RTL + onTap shifted the badge (tap padding is now directional) - hidden badges caught taps and fired onTap - twitter/instagram shapes crashed with 3+ gradient colors - turning toAnimate on at runtime left the badge invisible - a new CurvedAnimation listener leaked on every rebuild Maintenance: - CI: remove broken Code Quality workflow, set up pub.dev automated publishing, bump actions, weekly beta run - example: regenerate android/ios/windows projects, fix test screen overflow on phones - .pubignore: archive 7 MB -> 176 KB - README/CHANGELOG/AGENTS.md updates for 4.0.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 4.0.0: bug fixes, CI repair, working example app and a smaller package, on top of the
material_uimigration from #135.Fixes #133
Bug fixes
ignorePointerdocs said the opposite of what it does.BadgeStyle.elevationhas drawn no shadow since 3.0.3 (MaterialType.transparencyskips it). It now draws a shadow, and the default is0so existing badges look the same.BadgePosition.center()+onTapjumped to the child's top-left corner.centerStart()/centerEnd()were not vertically centered.onTapshifted the badge. The tap padding is now directional.showBadge: false) still caught taps and firedonTap.toAnimatefalse → true at runtime left the badge invisible.CurvedAnimationlistener.Each fix has a regression test that fails on the old code. 175 → 199 tests.
Maintenance
flutter format, which no longer exists). Bumped actions to versions that run on current runners. Added a weekly run and a non-blocking Flutter beta job.publish.ymlnow follows pub.dev automated publishing (OIDC viadart-lang/setup-dart,environment: pub.dev, tagvX.Y.Z). The old job hung waiting for a browser login..pubignore, so the archive goes from 7 MB to 176 KB (README GIFs load from GitHub anyway). Untracked generated files.onTappadding,ignorePointer), CHANGELOG 4.0.0, pubspectopics, AGENTS.md.Testing
flutter analyze lib/ test/ example/: no issues.dart format --set-exit-if-changed .: clean.flutter test: 199/199.dart pub publish --dry-run: 176 KB.After merge (maintainer)
yako-dev/flutter_badges, tag patternv{{version}}.pub.devenvironment.v4.0.0.🤖 Generated with Claude Code