bluetooth_enable 0.0.3
bluetooth_enable: ^0.0.3 copied to clipboard
Flutter plugin to turn on bluetooth within app (Android only)
Introduction #
BluetoothEnable is a bluetooth plugin for Flutter, to programtically request turning on Bluetooth within applications.
This plugin is for Android only.
Usage #
// Request to turn on Bluetooth within an app
BluetoothEnable.enableBluetooth.then((value){
//Do something with value
//On success, returns "true". On error, returns "false"
print(value);
});