Skip to content

chore(deps): bump badges from 3.1.2 to 3.2.0#731

Merged
Livinglist merged 1 commit into
masterfrom
dependabot/pub/badges-3.2.0
Apr 17, 2026
Merged

chore(deps): bump badges from 3.1.2 to 3.2.0#731
Livinglist merged 1 commit into
masterfrom
dependabot/pub/badges-3.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Bumps badges from 3.1.2 to 3.2.0.

Changelog

Sourced from badges's changelog.

[3.2.0] - [April 9, 2026]

Bug Fixes

  • Issue #114 — Fixed showBadge: false being ignored when a loop animation is active. didUpdateWidget now handles showBadge changes before any loop-animation guards.
  • Issue #130showBadge: false now hides the badge immediately. _animationController.stop() and _appearanceController.stop() are called before reverse() so the badge does not wait for the animation to play through.
  • Issue #98 — Fixed border anti-aliasing artifact. Border is now drawn entirely inside the circle via strokeAlign: BorderSide.strokeAlignInside in BoxDecoration, preventing background-colour bleed at antialiased edges.
  • Issue #115 (partial) — Key-based animation re-trigger: setting a Key on badgeContent and changing it now restarts the animation for any widget type, not just Text and Icon.

New Features

  • BadgeStyle.copyWith — Returns a copy of a BadgeStyle with overridden fields.
  • BadgePosition.centerStart — New named constructor: badge vertically centered on the start (left) side.
  • BadgePosition.centerEnd — New named constructor: badge vertically centered on the end (right) side.
  • BadgeState.animationController / appearanceController getters — Public access to the internal animation controllers for advanced use cases (PR #128).
  • _BadgeVisual private widget — Extracted badge visual from an inner closure into a proper StatelessWidget so Flutter's element tree can cache it and avoid rebuilding the full subtree on every opacity tick (PR #120).
  • Minimum-square badge sizing — Single-character text and small-icon badges now maintain correct circular/square proportions (PR #111).
  • BadgeGradient.gradient() asserts — Added assert statements documenting constructor invariants instead of silently force-unwrapping nullable fields.
  • Controller duration updatesdidUpdateWidget now updates AnimationController durations when badgeAnimation duration properties change.

Example App & Docs

  • Fixed all lint warnings in example/ (use_super_parameters, prefer_final_fields, curly_braces_in_flow_control_structures, avoid_print, deprecated_member_use).
  • README: fixed showcase GIF height (600px400px).
  • README: added hide Badge import pattern (issue #123).
  • Bumped flutter_lints to ^6.0.0.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [badges](https://github.com/yako-dev/flutter_badges) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/yako-dev/flutter_badges/releases)
- [Changelog](https://github.com/yako-dev/flutter_badges/blob/master/CHANGELOG.md)
- [Commits](yako-dev/flutter_badges@v3.1.2...v3.2.0)

---
updated-dependencies:
- dependency-name: badges
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@Livinglist Livinglist merged commit d6f23fe into master Apr 17, 2026
2 checks passed
@Livinglist Livinglist deleted the dependabot/pub/badges-3.2.0 branch April 17, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant