talira

badges (Flutter)

Badge widgets for Flutter, such as a cart item count

open sourceMITfree

badges is a Flutter package for adding badges to any widget, such as the number of items on a shopping cart icon. Badges can be positioned around their child, styled with shapes, and animated, including rotation and colour changes. Because Material ships its own Badge widget, it's imported with a namespace prefix.

Problems it solves

  • show a cart item count on a Flutter icon
  • add a notification badge to a Flutter widget
  • animated badge in a Flutter app

Features

  • badges on any widget
  • positioning around the child
  • shapes and styles
  • badge and colour-change animations