wifi_ip 0.0.1

Flutter Android iOS

A flutter plugin to get Wifi IP info.

Build Status

get_wifi_info #

A flutter plugin to get Wifi IP info.

Getting Started #

Pubspec #

  1. Add to pubspec
  get_wifi_info:
    git:
      url: https://github.com/luanvotrongdev/get_wifi_info.git
  1. run pub get

Android #

  1. Add <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> to AndroidManifest
  2. Call API
WifiInfo info;
try {
  info = await GetWifiInfo.getWifiInfo;
} on PlatformException {
  print('Failed to get broadcast IP.');
}

iOS #

  1. Call API
WifiInfo info;
try {
  info = await GetWifiInfo.getWifiInfo;
} on PlatformException {
  print('Failed to get broadcast IP.');
}

Demo #

iOSAndroid
2
likes
70
pub points
56%
popularity

A flutter plugin to get Wifi IP info.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

luan.votrongdev@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on wifi_ip