streak_calculator 0.2.5
streak_calculator: ^0.2.5 copied to clipboard
A high-performance Dart package for streak tracking—daily, weekly, or monthly. Supports custom goals, flexible week starts, and current & best streaks.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add streak_calculatorWith Flutter:
$ flutter pub add streak_calculatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
streak_calculator: ^0.2.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:streak_calculator/streak_calculator.dart';