Flutter Badge Widget

Flutter Badge Widget


pub package

A Flutter widget that help you to create badges easily.

Flutter Badge Widget

Getting Started

Add dependency to pubspec.yaml

  badge: any

Install the package using Terminal

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.


import 'package:badge/badge.dart';


new Badge.before(
  value: "Text", // value to show inside the badge
  child: new Text("button") // text to append (required)

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

Source Code

Please Visit Flutter Badge Widget Source Code at GitHub