flutter_band_fit 0.0.3 copy "flutter_band_fit: ^0.0.3" to clipboard
flutter_band_fit: ^0.0.3 copied to clipboard

Flutter plugin for UTE smart bands using the UTE SDK (the GloryFit SDK) for BLE connectivity, sync, and vitals on Android and iOS.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_band_fit_app/app/bindings/initial_binding.dart';
import 'package:flutter_band_fit_app/app/routes/app_pages.dart';
import 'package:flutter_band_fit_app/app/routes/app_routes.dart';
import 'package:flutter_band_fit_app/app/theme/app_theme.dart';
import 'package:flutter_band_fit_app/app/theme/theme_controller.dart';
import 'package:flutter_band_fit_app/core/constants/global_constants.dart';
import 'package:get/get.dart';
import 'package:get_storage/get_storage.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await GetStorage.init();
  InitialBinding().dependencies();
  runApp(const BandFitApp());
}

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

  @override
  Widget build(BuildContext context) {
    final themeController = Get.find<ThemeController>();
    return Obx(
      () => GetMaterialApp(
        debugShowCheckedModeBanner: false,
        title: textAppTitle,
        theme: AppTheme.light,
        darkTheme: AppTheme.dark,
        themeMode: themeController.theme,
        initialRoute: AppRoutes.vitals,
        getPages: AppPages.pages,
        defaultTransition: Transition.cupertino,
      ),
    );
  }
}
1
likes
140
points
150
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for UTE smart bands using the UTE SDK (the GloryFit SDK) for BLE connectivity, sync, and vitals on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#bluetooth #ble #wearable #health #fitness

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_band_fit

Packages that implement flutter_band_fit