accurate_step_counter 4.0.0
accurate_step_counter: ^4.0.0 copied to clipboard
Android step counter using hardware sensors and a health foreground service, with live totals, SQLite history, reboot recovery, and optional merge policies.
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: ^4.0.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';