op_wifi_utils 1.3.0
op_wifi_utils: ^1.3.0 copied to clipboard
A lightweight Flutter plugin using modern Android and iOS APIs to connect to Wi-Fi, disconnect, and retrieve the current SSID, based on OpResult for structured error handling.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add op_wifi_utils
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
op_wifi_utils: ^1.3.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:op_wifi_utils/op_wifi_utils.dart';