health_kit_wrapper 1.0.0
health_kit_wrapper: ^1.0.0 copied to clipboard
Unified health data plugin for iOS (HealthKit) and Android (Health Connect). One Dart API for permissions, aggregate/sample reads across 26 data types, and live change observation — backed by deep nat [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add health_kit_wrapperThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
health_kit_wrapper: ^1.0.0Alternatively, 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_kit_wrapper/health_kit_wrapper.dart';