# Flutter-Badge
**Repository Path**: hsq168/Flutter-Badge
## Basic Information
- **Project Name**: Flutter-Badge
- **Description**: A Flutter widget that help you to create badages
- **Primary Language**: Dart
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-03-27
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# badge
[](https://pub.dartlang.org/packages/badge)
A Flutter widget that help you to create badges easily.
## Getting Started
### Add dependency to pubspec.yaml
```yaml
[...]
dependencies:
badge: any
[...]
```
### Install the package using Terminal
```bash
$ flutter packages get
```
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
### import
```dart
import 'package:badge/badge.dart';
```
### Example
```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](https://flutter.io/).
For help on editing package code, view the [documentation](https://flutter.io/developing-packages/).