vitals 0.1.2
vitals: ^0.1.2 copied to clipboard
Type-safe access to Apple Health and Health Connect. Bucketed statistics computed on-device, permissions modelled honestly, and an in-memory fake so health flows are testable.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vitalsWith Flutter:
$ flutter pub add vitalsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
vitals: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:vitals/vitals.dart';