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:
$ flutter pub add step_counter
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart 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.
Now in your Dart code, you can use: