Skip to content

deps(deps): bump badges from 3.1.2 to 3.2.0#83

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/badges-3.2.0
Open

deps(deps): bump badges from 3.1.2 to 3.2.0#83
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/badges-3.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Copy link
Copy Markdown
Contributor

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>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels May 11, 2026
@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rechainonline Error Error May 11, 2026 6:03am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant