step_counter 0.0.2 copy "step_counter: ^0.0.2" to clipboard
step_counter: ^0.0.2 copied to clipboard

Flutter plugin that uses ObjC and Java to get a step count from HealthKit or the Google Fitness Store. The total steps today, steps during a time period, and steps during a time period in intervals ca [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add step_counter

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

dependencies:
  step_counter: ^0.0.2

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:step_counter/step_counter.dart';
4
likes
20
pub points
35%
popularity

Publisher

unverified uploader

Flutter plugin that uses ObjC and Java to get a step count from HealthKit or the Google Fitness Store. The total steps today, steps during a time period, and steps during a time period in intervals can all be queried.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on step_counter