daily_pedometer 0.0.14 daily_pedometer: ^0.0.14 copied to clipboard
A Pedometer and Step Detection package for Android and iOS. Step count is streamed as the platform updates it.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add daily_pedometer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
daily_pedometer: ^0.0.14
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:daily_pedometer/daily_pedometer.dart';