wifi_lock 0.0.4 copy "wifi_lock: ^0.0.4" to clipboard
wifi_lock: ^0.0.4 copied to clipboard

Flutter plugin for accessing android's WifiLock

wifi_lock #

Flutter plugin adding ability to access WifiLock

Example code #

pubspec.yaml:

...
dependencies:
  wifi_lock: any

example dart code:

import 'package:wifi_lock/wifi_lock.dart';


void main() {
  final WifiLock = new WifiLock(WifiLock.WIFI_MODE_FULL_HIGH_PERF);
  wifiLock.acquire();
  
  
  // ...
  // we should release at the end of work with wifi
  wifiLock.release();
}

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for accessing android's WifiLock

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on wifi_lock