web_blue 0.1.0 web_blue: ^0.1.0 copied to clipboard
A starting point for Dart libraries or applications.
Dart wrapper via dart:js
for https://webbluetoothcg.github.io/web-bluetooth/
Features #
- canUseBlue
- getAvailability
Usage #
canUseBlue #
bool canUse = canUseBlue();
print('canUse $canUse');
getAvailability #
https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/getAvailability
bool availability = await blue.getAvailability();
print('availability $availability');
Additional information #
Status in Chromium: https://chromestatus.com/feature/5264933985976320