r_get_ip_v3 0.1.1
r_get_ip_v3: ^0.1.1 copied to clipboard
Get ip address.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add r_get_ip_v3
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
r_get_ip_v3: ^0.1.1
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:r_get_ip_v3/external_ip_io.dart';
import 'package:r_get_ip_v3/external_ip_web.dart';
import 'package:r_get_ip_v3/r_get_ip.dart';
import 'package:r_get_ip_v3/r_get_ip_web.dart';