Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeip_country_lookup

Retrieves public IP address and country location using no-key third-party providers.

pub.devRemove
public_ip_address

Get public IP addresses and associated geolocation data like country, city, timezone, and ISP.

pub.devRemove
ScoresHealth76 (best)67
Maintenance94 (best)46
Quality100100
Popularity57 (best)56
Community646 (best)
Compatibility100100
UsageDownloads (30 days)12k (best)7.5k
Likes2329 (best)
Pub points160 / 160160 / 160
GitHub stars720 (best)
MaintenanceLatest release1.1.0, 11 days ago (best)1.2.2, 5 months ago
Major versions in 12 months00
Contributors12 (best)
PublisherUnverifiedsumanrajpathak.com.np
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Automatic fallback between multiple public IP and location providers.
  • IPv4 and IPv6 support.
  • Requires no API keys.
  • Provides comprehensive IP metadata including location, timezone, and ISP details.
  • Supports fetching data for specific IP addresses as well as the current user's IP.
  • Cross-platform support covering Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
  • Results are not cached, so multiple calls trigger independent requests.
  • Depending on timeouts across failed services, lookups can take several seconds to complete.
  • Public IP geolocation is approximate and prone to interference from VPNs and mobile networks.
  • Relies on an external API endpoint which requires an active internet connection.
  • Region, city, and postal code data may be missing for certain non-US or non-Canadian IP addresses.
WarningsNoneNone
ip_country_lookup vs public_ip_address: which Flutter package should you use? | pubscout