A flutter plugin to get gateway information when wifi connect. Work on iOS and Android.
For Android: Need add:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
import 'package:gateway/gateway.dart'; Gateway gt = await Gateway.info; print(gt);
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.