bluetooth_control

Bluetooth control plugin.

Getting Started

Depending

dependencies:
  bluetooth_control: ^0.0.1

Importing

import 'package:bluetooth_control/bluetooth_control.dart';

Usage

Check is Bluetooth enable

Future<bool> get isBluetoothEnable async => await BluetoothControl.isEnable;

Enable Bluetooth

Future<bool> get turnOnBluetooth async => await BluetoothControl.turnOn;

Libraries

bluetooth_control