vtj_bluetooth_package 1.0.3
vtj_bluetooth_package: ^1.0.3 copied to clipboard
A Flutter package for seamless Bluetooth Low Energy (BLE) communication with Ventriject medical devices. Provides easy-to-use APIs for device discovery, connection management, and data exchange.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'screens/token_screen.dart';
void main() {
runApp(const VtjBluetoothExampleApp());
}
/// Example app for testing VTJ Bluetooth Package functionality.
class VtjBluetoothExampleApp extends StatelessWidget {
const VtjBluetoothExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'VTJ Bluetooth Example',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blue,
brightness: Brightness.light,
),
useMaterial3: true,
cardTheme: CardThemeData(
elevation: 2,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12),
),
),
appBarTheme: const AppBarTheme(
centerTitle: true,
elevation: 0,
),
),
home: const TokenScreen(),
);
}
}