health 10.2.0 copy "health: ^10.2.0" to clipboard
health: ^10.2.0 copied to clipboard

Wrapper for HealthKit on iOS and Google Fit and Health Connect on Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add health

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

dependencies:
  health: ^10.2.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:health/health.dart';
587
likes
150
points
27.7k
downloads

Publisher

verified publishercachet.dk

Weekly Downloads

Wrapper for HealthKit on iOS and Google Fit and Health Connect on Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

carp_serializable, device_info_plus, flutter, intl, json_annotation

More

Packages that depend on health