패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.0.7

get_ip_address

현재 장치의 IP 주소를 얻기 위한 패키지입니다. 시스템 IP를 얻기 위해 https://api64.ipify.org를 사용합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
2만
좋아요
62
Pub 점수
160

패키지 설치

flutter pub add get_ip_address

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

ipify.org API에 요청을 보내 현재 장치의 공용 IP 주소를 가져오는 가벼운 Flutter 패키지입니다. 모바일, 웹, 데스크톱 환경 등 여러 플랫폼에서 네트워크 식별을 단순화합니다. 최소한의 설정으로 사용이 간편하며, 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.