搜尋套件、儲存庫與 APP 分類

套件詳情v7.1.1

sensors_plus

用於存取加速度計、陀螺儀和磁力計感測器的 Flutter 插件。

AndroidiOSWeb
近 30 天下載
92.6萬
喜歡數
1040
Pub 分數
160

安裝套件

flutter pub add sensors_plus

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

sensors_plus 套件是一個 Flutter 插件,可在 Android、iOS 和 Web 平台上提供對裝置感應器(如加速度計、陀螺儀和磁力計)的存取。它能即時收集這些硬體感應器的資料,讓開發者能夠建構回應裝置運動與方向的互動式應用程式。此套件提供一致的 API 來取得感應器資料,使實作手勢偵測、步數計算或擴增實境互動等功能更加輕鬆。該套件由 Flutter Community 維護,並可與 Flutter 專案無縫整合。

適用情境

  • 基於運動的使用者介面
  • 步數統計和健身追蹤
  • 增強現實應用
  • 設備方向檢測
  • 遊戲中的手勢識別

主要特色

  • 跨平台傳感器存取
  • 即時感測器資料串流
  • 支援加速度計、陀螺儀和磁力計
  • 簡單且一致的 API
  • Flutter Community 的積極維護

適合對象

  • 開發運動感知應用的開發者
  • 健身和健康應用
  • 互動遊戲和AR體驗
  • 物聯網和可穿戴設備整合

使用建議

  • 需要設備硬體支援
  • Web 支持可能有局限性
  • 後台操作依賴於平台權限
  • 傳感器精度因設備而異

原始 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.

所屬分類

依賴

依賴清單 1 項

  • sensors_plus_platform_interface^2.0.2

原始碼儲存庫

使用此套件的專案

所在榜單