gateway 0.3.0 gateway: ^0.3.0 copied to clipboard
A flutter plugin to get gateway. If you want to obtain gateway related information in a WiFi network, you can use this package to obtain gateway IP address, network address etc.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gateway
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gateway: ^0.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:gateway/gateway.dart';