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

GitHub 儲存庫ricnaaru/adv_camera

adv_camera

適用於 Flutter 的進階相機

adv_camera 專案封面
星標
54
分支
38
最近推送(UTC)
2025年10月31日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Advanced Camera

This is our custom Camera that enabling you to tap focus, zoom, flashlight.

Note: This plugin use android.hardware.Camera, I have tried to migrate it to android.hardware.Camera2 in development branch, but with lack of understandings I found out so many inconsistency and find it kinda waste of time since Android is developing their new camera CameraX. So until CameraX has released its stable version, I think I will still use this.

There's still so much feature that I haven't include such as video recording, auto white balance, etc.

And please note that Flutter have their own camera plugin, but they haven't include focus and flashlight feature there.

Installation

First, add adv_camera as a dependency in your pubspec.yaml file.

iOS

Add two rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key Privacy - Microphone Usage Description and a usage description.

Or in text format add the key:

<key>NSCameraUsageDescription</key>  
<string>Can I use the camera please?</string>  
<key>NSMicrophoneUsageDescription</key>  
<string>Can I use the mic please?</string>  
Android

For Android's permission, you have to configure it yourself (using Dexter, etc.), or you can manually turn on its permission at setting.

This plugin is made to support my other plugin adv_image_picker, you can see that its permission is handled there.

Example

You can find the full example, here

Future developments

  • AndroidX camera integration
  • Video integration for both Android and IOS
  • More testing and bug fixing

Support

This repository isn't maintained that well, but I will try to keep it well-maintained as much as possible. Please consider support me.. Buy me a coffee


ricnaaru GitHub avatar
GitHub 作者

ricnaaru ↗

語言JavaSwiftDartRubyPythonShellObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^6.0.0

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗