wifi_lock 0.0.4

Flutter Android iOS

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
70
pub points
31%
popularity

Flutter plugin for accessing android's WifiLock

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

efesak@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on wifi_lock