accurate_step_counter 2.0.0 copy "accurate_step_counter: ^2.0.0" to clipboard
accurate_step_counter: ^2.0.0 copied to clipboard

PlatformAndroid

Production-grade step counter for Flutter Android. Uses native TYPE_STEP_COUNTER sensor via foreground service for accurate tracking in foreground, background, and terminated states. Includes SQLite l [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add accurate_step_counter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  accurate_step_counter: ^2.0.0

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:accurate_step_counter/accurate_step_counter.dart';
3
likes
150
points
694
downloads

Documentation

API reference

Publisher

verified publisherrahulsha.com.np

Weekly Downloads

Production-grade step counter for Flutter Android. Uses native TYPE_STEP_COUNTER sensor via foreground service for accurate tracking in foreground, background, and terminated states. Includes SQLite logging, smart merge utilities, and warmup validation.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, path, sensors_plus, sqflite

More

Packages that depend on accurate_step_counter

Packages that implement accurate_step_counter