badge 0.0.3
badge: ^0.0.3 copied to clipboard
A Flutter widget that help you to create badages .
badge #
A Flutter widget that help you to create badges easily.
Getting Started #
Add dependency to pubspec.yaml #
[...]
dependencies:
badge: any
[...]
copied to clipboard
Install the package using Terminal #
$ flutter packages get
copied to clipboard
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
import #
import 'package:badge/badge.dart';
copied to clipboard
Example #
new Badge.before(
value: "Text", // value to show inside the badge
child: new Text("button") // text to append (required)
)
copied to clipboard
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.