synheart_wear 0.4.1 copy "synheart_wear: ^0.4.1" to clipboard
synheart_wear: ^0.4.1 copied to clipboard

Flutter SDK for wearable signals — Apple HealthKit, Health Connect, WHOOP, Garmin, Oura, and Fitbit. Unified HR, HRV, steps, calories, distance, stress.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'pages/home_page.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const SynheartWearExampleApp());
}

class SynheartWearExampleApp extends StatelessWidget {
  const SynheartWearExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    final colorScheme = ColorScheme.fromSeed(
      seedColor: Colors.blue,
      brightness: Brightness.light,
    );

    return MaterialApp(
      title: 'Synheart Wear Example',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: colorScheme,
        useMaterial3: true,
        appBarTheme: AppBarTheme(
          centerTitle: false,
          elevation: 0,
          scrolledUnderElevation: 1,
          backgroundColor: colorScheme.surface,
          foregroundColor: colorScheme.onSurface,
          iconTheme: IconThemeData(color: colorScheme.onSurface),
        ),
        cardTheme: CardThemeData(
          elevation: 2,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(12),
          ),
        ),
      ),
      home: const HomePage(),
    );
  }
}
7
likes
0
points
589
downloads

Publisher

verified publishersynheart.ai

Weekly Downloads

Flutter SDK for wearable signals — Apple HealthKit, Health Connect, WHOOP, Garmin, Oura, and Fitbit. Unified HR, HRV, steps, calories, distance, stress.

Repository (GitHub)
View/report issues

Topics

#wearable #biosignals #flutter #health #hrv

License

unknown (license)

Dependencies

collection, crypto, encrypt, flutter, health, http, meta, path_provider, platform, shared_preferences, url_launcher, uuid, xml

More

Packages that depend on synheart_wear

Packages that implement synheart_wear