搜尋套件、儲存庫與 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 位址。它簡化了在多個平台(包括行動裝置、網頁和桌面環境)上的網路識別,設計上簡單易用且設定最少,回傳 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 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。