fitness 1.0.1 copy "fitness: ^1.0.1" to clipboard
fitness: ^1.0.1 copied to clipboard

Flutter plugin for reading step count data. Wraps HealthKit on iOS and GoogleFit on Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add fitness
copied to clipboard

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

dependencies:
  fitness: ^1.0.1
copied to clipboard

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:fitness/fitness.dart';
copied to clipboard
28
likes
140
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

Flutter plugin for reading step count data. Wraps HealthKit on iOS and GoogleFit on Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fitness