/flutter_get_public_ip

This package allows Flutter apps to get Public IP from current ISP connection.

Primary LanguageC++MIT LicenseMIT

wifi_ip_details

pub package

This package allows Flutter apps to get Wifi IP Details like Internet Service Provider(ISP), Country, Public IP Address, etc.

Platform Support

Android iOS MacOS Web Linux Windows
✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

    dependencies:
        wifi_ip_details: <latest_version>

Usage

  • For getting WIFI Details just call this method
    // Getting WIFI IP Details
    final _publicIP = await WifiIPDetails.getMyIP();
    final _ipDetails = await WifiIPDetails.getMyWIFIDetails();
  • Incase you have the access token then just pass in the access token on the same method.
    // Getting WIFI IP Details using Access Token
    final _ipDetails = await WifiIPDetails.getMyWIFIDetails("YOUR ACCESS TOKEN");

Additional Information

  • Enable Internet Permission.

Don't Forget to give Star and Like 🚀