flutter_spp_bluetooth_serial 0.1.1 copy "flutter_spp_bluetooth_serial: ^0.1.1" to clipboard
flutter_spp_bluetooth_serial: ^0.1.1 copied to clipboard

Flutter basic implementation for Classical Bluetooth (only RFCOMM for now). Forked and republished as flutter_spp_bluetooth_serial.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_spp_bluetooth_serial

With Flutter:

 $ flutter pub add flutter_spp_bluetooth_serial

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flutter_spp_bluetooth_serial: ^0.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_spp_bluetooth_serial/BluetoothBondState.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothConnection.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDevice.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDeviceType.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDiscoveryResult.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothPairingRequest.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothState.dart';
import 'package:flutter_spp_bluetooth_serial/FlutterBluetoothSerial.dart';
import 'package:flutter_spp_bluetooth_serial/flutter_bluetooth_serial.dart';
2
likes
0
points
137
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter basic implementation for Classical Bluetooth (only RFCOMM for now). Forked and republished as flutter_spp_bluetooth_serial.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_spp_bluetooth_serial

Packages that implement flutter_spp_bluetooth_serial