xunil_blue_connect 0.0.1
xunil_blue_connect: ^0.0.1 copied to clipboard
This plugin is bluetooth connecting and management.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'body.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
const MainBody();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: SafeArea(
child: Scaffold(
appBar: AppBar(
title: const Text('Plugin bluetooth check app'),
),
body: const MainBody(),
),
),
);
}
}