whatismyip 1.1.1 copy "whatismyip: ^1.1.1" to clipboard
whatismyip: ^1.1.1 copied to clipboard

A lightweight Dart package that helps you discover your IP address and retrieve detailed geolocation information.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add whatismyip

With Flutter:

 $ flutter pub add whatismyip

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

dependencies:
  whatismyip: ^1.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:whatismyip/whatismyip.dart';
1
likes
160
points
2
downloads

Publisher

verified publisherredlinesoft.net

Weekly Downloads

A lightweight Dart package that helps you discover your IP address and retrieve detailed geolocation information.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on whatismyip