flutter_counter 1.0.3 flutter_counter: ^1.0.3 copied to clipboard
Flutter Counter is a simple and customisable plugin written in dart for flutter. Create it like any other widget, add params according to your need and presto!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_counter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_counter: ^1.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_counter/flutter_counter.dart';