geoip_api 1.0.2 copy "geoip_api: ^1.0.2" to clipboard
geoip_api: ^1.0.2 copied to clipboard

A lightweight Flutter/Dart package to fetch geolocation and IP address information.

🌍 GeoIP API - Flutter Package #

A lightweight Flutter/Dart package to fetch geolocation and IP address information using api.geoipapi.com.


✨ Features #

  • Get user's public IP address
  • Get full geolocation details including:
    • IP, country, city, state, ZIP
    • Latitude & longitude
    • ASN (Autonomous System Number) info
    • Timezone, currency, and more

πŸ“¦ Installation #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  geoip: <latest_version>

In your library add the following import:

import 'package:geoip/geoip.dart';

Preview #

Preview
1
likes
140
points
32
downloads

Publisher

verified publishersangamsingh.com.np

Weekly Downloads

A lightweight Flutter/Dart package to fetch geolocation and IP address information.

Repository (GitHub)
View/report issues

Topics

#location #geoip #geolocation #country #asn

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on geoip_api