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

패키지 상세v7.3.2

connectivity_plus

Android 및 iOS에서 네트워크(Wi-Fi 및 모바일/셀룰러) 연결 상태를 탐지하기 위한 Flutter 플러그인입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
443만
좋아요
4.1천
Pub 점수
160

패키지 설치

flutter pub add connectivity_plus

패키지 개요

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

connectivity_plus는 Android, iOS, Web, macOS, Windows, Linux에서 네트워크 연결 상태 변화를 감지하고 반응할 수 있도록 해주는 Flutter 플러그인입니다. 현재 활성화된 연결 유형(예: Wi-Fi, 모바일 데이터, 또는 연결 없음)에 대한 실시간 정보를 제공하여 개발자가 네트워크 가용성에 맞춰 적응하는 내구성이 뛰어난 애플리케이션을 구축할 수 있게 합니다. 이 패키지는 다양한 플랫폼 간에 간단하고 일관된 API를 제공하므로 오프라인 시나리오 처리, 데이터 동기화, 네트워크 상태 표시기 표시 등에 이상적입니다.

사용 사례

  • 실시간으로 네트워크 상태 모니터링
  • 오프라인 모드를 우아하게 처리하기
  • 연결 표시기 표시
  • 실패한 요청 자동 재시도
  • 연결 유형에 따라 데이터 사용량 최적화

주요 기능

  • 크로스 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
  • 실시간 연결 상태 업데이트
  • 와이파이 및 모바일 데이터 연결 감지
  • 초기 상태 및 스트림 기반 모니터링 모두 지원
  • 간단하고 직관적인 API 및 최소 설정

적합한 대상

  • 신뢰할 수 있는 네트워크 인식이 필요한 앱
  • 오프라인 사용이 가능한 애플리케이션
  • 연결 컨텍스트가 필요한 데이터 집약형 서비스
  • 일관된 동작으로 여러 플랫폼을 타겟으로 하는 개발자

고려 사항

  • Android 및 iOS에서 플랫폼별 권한이 필요합니다
  • 브라우저에 따라 웹 지원에 제한이 있을 수 있습니다
  • 인터넷 액세스를 감지하지 않음—로컬 연결만
  • 실제 인터넷 접근성을 확인하기 위해 추가 로직이 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Plus plugins

build

all_plugins GitHub Workflow Status Follow on Twitter


PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed as a part of Flutter plugins, with extra functionalities, support for more platforms and better maintenance.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Status

This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

카테고리

의존성

의존성 목록 5 개

소스 저장소

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

순위