Skip to main content

bluetooth_serial_next 0.1.0 copy "bluetooth_serial_next: ^0.1.0" to clipboard
bluetooth_serial_next: ^0.1.0 copied to clipboard

PlatformAndroid

Maintained replacement for flutter_bluetooth_serial: Bluetooth Classic SPP (RFCOMM) for Android, for HC-05/HC-06, ESP32, ELM327 and printers.

example/lib/main.dart

import 'package:bluetooth_serial_next/bluetooth_serial_next.dart';
import 'package:flutter/material.dart';

import 'devices_page.dart';

void main() => runApp(TerminalApp(bt: BluetoothSerial.instance));

class TerminalApp extends StatelessWidget {
  const TerminalApp({super.key, required this.bt});

  final BluetoothSerial bt;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bluetooth serial terminal',
      theme: ThemeData(colorSchemeSeed: Colors.indigo),
      darkTheme: ThemeData(
        colorSchemeSeed: Colors.indigo,
        brightness: Brightness.dark,
      ),
      home: DevicesPage(bt: bt),
    );
  }
}
0
likes
160
points
--
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Maintained replacement for flutter_bluetooth_serial: Bluetooth Classic SPP (RFCOMM) for Android, for HC-05/HC-06, ESP32, ELM327 and printers.

Repository (GitHub)
View/report issues

Topics

#bluetooth #serial #spp #arduino #esp32

License

MIT (license)

Dependencies

flutter, meta, serial_port_core

More

Packages that depend on bluetooth_serial_next

Packages that implement bluetooth_serial_next