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

패키지 상세v7.1.2

battery_plus

배터리 상태(충전 완료, 충전 중, 방전 중)에 대한 정보에 액세스하기 위한 플러터 플러그인입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
59.3만
좋아요
565
Pub 점수
150

패키지 설치

flutter pub add battery_plus

패키지 개요

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

battery_plus 패키지는 Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼에서 실시간 배터리 상태 정보에 접근할 수 있는 Flutter 플러그인입니다. 배터리 잔량, 충전 상태, 장치가 전원에 연결되어 있는지 여부와 같은 세부 정보를 가져올 수 있습니다. 크로스플랫폼 일관성을 위해 설계되어 배터리 모니터링 기능이 필요한 앱에 쉽게 통합할 수 있도록 합니다. 이 플러그인은 Flutter Community에서 유지보수하며 null 안전 및 최신 Dart 관행을 지원합니다.

사용 사례

  • 실시간으로 장치 배터리 수준 모니터링
  • 장치가 충전 중이거나 방전 중인 시점을 감지하는 것
  • 앱에 전력 절약 기능 구현하기
  • UI 구성 요소에 배터리 상태 표시
  • 저전력 경고 만들기

주요 기능

  • 다중 플랫폼 배터리 상태 접근
  • 실시간 배터리 수준 업데이트
  • 모든 주요 데스크톱 및 모바일 플랫폼 지원
  • 간단하고 직관적인 API
  • Flutter Community에서 관리 중

적합한 대상

  • 배터리 건강 모니터링이 필요한 앱
  • 유용한 도구 및 시스템 도구
  • 배터리 최적화 기능
  • 크로스플랫폼 애플리케이션
  • 신뢰할 수 있는 장치 상태 데이터를 찾는 개발자

고려 사항

  • 일부 OS에서는 적절한 플랫폼 권한이 필요합니다
  • 웹 지원의 정확도는 제한될 수 있습니다
  • 배터리 상태 업데이트는 장치 하드웨어에 따라 달라집니다
  • 고정밀 배터리 분석에 적합하지 않습니다
  • 기본 배터리 상태 정보에 한정됨

원본 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.

카테고리

의존성

의존성 목록 4 개

  • battery_plus_platform_interface^2.0.1
  • meta^1.8.0
  • upower^0.7.0
  • web^1.0.0

소스 저장소

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

순위