accurate_step_counter 3.1.0
accurate_step_counter: ^3.1.0 copied to clipboard
Production-grade step counter for Flutter Android. TYPE_STEP_COUNTER foreground service on all API 24+, production-hardened rate caps and merge policies, SQLite logging, midnight/boot recovery, and BY [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add accurate_step_counterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
accurate_step_counter: ^3.1.0Alternatively, 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:accurate_step_counter/accurate_step_counter.dart';