搜索插件、代码仓与 APP 分类

插件详情v0.0.7

get_ip_address

一个用于获取当前设备IP地址的包。使用 https://api64.ipify.org 获取系统IP。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
2万
喜欢数
62
Pub 分数
160

安装插件

flutter pub add get_ip_address

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个轻量级的 Flutter 包,通过向 ipify.org API 发送请求来获取当前设备的公网 IP 地址。它简化了在移动、Web 和桌面环境等多个平台上的网络标识,设计简单易用,设置最少,返回 IP 地址为字符串形式。适用于调试、日志记录或需要网络身份识别的位置功能。

适合场景

  • 获取公共IP以用于调试
  • 在应用中记录用户IP
  • 实现基于地理位置的功能
  • 追踪设备连接
  • 在应用设置中显示IP

主要特点

  • 简单的 API,包含一个方法
  • 支持所有主要平台
  • 使用可靠的 ipify.org 服务
  • 以字符串形式返回IP
  • 最小依赖开销

适合对象

  • 需要快速IP查询的开发者
  • 需要网络身份的应用程序
  • 跨平台项目
  • 调试网络问题
  • 轻量级实用程序需求

使用建议

  • 依赖外部API(ipify.org)
  • 未检测到本地IP
  • 需要互联网连接
  • 仅限公共IP
  • 高使用量时可能会有速率限制

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Learnings

A repository which will contain all my learning techs as I move forward. Will be learning and adding new projects. Anyone can clone this project and use it for reference. PR is also welcome.

Will be adding new projects for different platforms as I move forward and learn.

Each project is divided into folders based on the platforms and the courses. And also added the final screenshot of the project (if possible).

README will be only updated when the project/learning is completed. So make sure to check the folders for more 😁.

Dart Projects

Flutter Projects

Android Projects

Kotlin Mulitplatform

Python Projects

Go Projects

Rust Projects

Backend Projects

  • roadmap.sh
    • Task Tracker
      • https://roadmap.sh/projects/task-tracker/solutions?u=6781060d70129741a8caef98
      • https://roadmap.sh/projects/task-tracker
    • githubuseractivity
      • https://roadmap.sh/projects/github-user-activity/solutions?u=6781060d70129741a8caef98
      • https://roadmap.sh/projects/github-user-activity
    • expensetracker
      • https://roadmap.sh/projects/expense-tracker/solutions?u=6781060d70129741a8caef98
      • https://roadmap.sh/projects/expense-tracker
    • numberguessinggame
      • https://roadmap.sh/projects/number-guessing-game/solutions?u=6781060d70129741a8caef98
      • https://roadmap.sh/projects/number-guessing-game
    • UnitConverter
      • https://roadmap.sh/projects/unit-converter/solutions?u=6781060d70129741a8caef98
      • https://roadmap.sh/projects/unit-converter

Machine Learning Projects


If you found this helpful or you learned something today and want to thank me, consider buying me a cup of ☕ at PayPal

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。