flutter_wireless 0.0.14
flutter_wireless: ^0.0.14 copied to clipboard
Flutter basic implementation for wireless connections (classical bluetooth,)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_wireless
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_wireless: ^0.0.14
Alternatively, your editor might support 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_wireless/BluetoothBondState.dart';
import 'package:flutter_wireless/BluetoothConnection.dart';
import 'package:flutter_wireless/BluetoothDevice.dart';
import 'package:flutter_wireless/BluetoothDeviceType.dart';
import 'package:flutter_wireless/BluetoothDiscoveryResult.dart';
import 'package:flutter_wireless/BluetoothPairingRequest.dart';
import 'package:flutter_wireless/BluetoothState.dart';
import 'package:flutter_wireless/FlutterBluetoothSerial.dart';
import 'package:flutter_wireless/flutter_bluetooth_serial.dart';