Search packages, repositories and app categories

Package detailsv3.2.0

adv_camera

An advanced camera with focus (with focus rectangle) and zoom feature.

AndroidiOS
30-day downloads
129
Likes
46
Pub points
125

Install package

flutter pub add adv_camera

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

adv_camera is a Flutter package that provides an advanced camera interface with support for focus using a focus rectangle and zoom functionality. Designed for Android and iOS, it enables developers to integrate robust camera features into their apps with ease. The package offers precise control over focus points and smooth zooming, enhancing user experience in photography or video capture applications. It is ideal for apps requiring high-level camera interaction beyond basic image capture.

Use cases

  • Augmented reality apps
  • Photo editing tools
  • Video conferencing apps
  • Document scanning utilities
  • Custom camera interfaces

Key features

  • Focus with focus rectangle
  • Zoom capability
  • Cross-platform support (Android & iOS)
  • Simple integration via pub
  • Real-time focus feedback

Suitable for

  • Developers building custom camera UIs
  • Apps needing precise focus control
  • Projects requiring zoom functionality
  • Mobile apps with photo/video capture needs
  • Flutter apps targeting both Android and iOS

Considerations

  • Requires camera permissions on target devices
  • May need additional configuration for optimal performance
  • Limited to basic camera operations beyond focus and zoom
  • Depends on underlying platform camera APIs
  • Not suitable for complex video processing workflows

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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


Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

No data available yet.