network_info 2.0.0 copy "network_info: ^2.0.0" to clipboard
network_info: ^2.0.0 copied to clipboard

A standalone Flutter package for retrieving network information (public and local IP addresses)

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_info

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  network_info: ^2.0.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:network_info/network_info.dart';
1
likes
150
points
108
downloads

Publisher

unverified uploader

Weekly Downloads

A standalone Flutter package for retrieving network information (public and local IP addresses)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, get_it, http

More

Packages that depend on network_info