bluetooth_connection_plugin 1.5.0
bluetooth_connection_plugin: ^1.5.0 copied to clipboard
A Flutter plugin for connecting to Bluetooth devices, Supports device discovery, connection, data reading, and real-time data monitoring.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:bluetooth_connection_plugin/bluetooth_connection_plugin.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Bluetooth Plugin Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
useMaterial3: true,
),
home: Center(
child: Text("Bluetooth Plugin Demo"),
),
);
}
}