A Flutter plugin for Android and iOS allowing access to the device cameras, a bit deeper!!

Overview

flutter_cameraview

A Flutter plugin for Android and iOS allowing access to the device cameras, a bit deeper!!. This plugin was created to offer more advanced features than the Flutter official Camera plugin.

NB: For Android, the required sdk version is also dropped to 16 or higher (as the official plugin only supports android sdk 21 and higher).

Features

  • Display live camera preview in widget.
  • Control flash.
  • Take and save pictures.

Installation

Use flutter_cameraview in a Flutter project

This plugin is not published to Flutter packages site yet, but you can use the github development version by adding the following section as a dependency in your pubspec.yaml file.

flutter_cameraview: 
    git:
      url: https://github.com/hramaroson/flutter_cameraview.git

Building the example

Execute the following commands from the plugin's root directory.

cd example
flutter run

License

flutter_cameraview is under MIT License.

Third party

This plugin uses Otalia Studios' CameraView which is under MIT License.

You might also like...

Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, and web.

Wakelock Wakelock is Flutter plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping. Supported platforms Platfo

Jan 4, 2023

SSH no ports provides ssh to a remote Linux device with out that device having any ports open

Ssh! No ports ssh no ports provides a way to ssh to a remote linux host/device without that device having any open ports (not even 22) on external int

Dec 21, 2022

Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or video from the device gallery, whether it is Android or iOS

Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or video from the device gallery, whether it is Android or iOS

Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or vide

Oct 13, 2022

🧾 Flutter widget allowing easy cache-based data display in a ListView featuring pull-to-refresh and error banners.

Often, apps just display data fetched from some server. This package introduces the concept of fetchable streams. They are just like normal Streams, b

Jan 18, 2022

Iridium-reader-widget - Plug and play reader widget allowing to easily integrate an Iridium viewer inside any app

Plug and play reader widget allowing to easily integrate an Iridium viewer insid

Dec 31, 2022

A package script for allowing coverage test tool to see all Dart files

full_coverage Coverage tools like codecov only see the files that were actually triggered by tests. This means that a coverage of 100% can easily be a

Mar 18, 2022

A flutter plugin to query Android device Administrator (DevicePolicyManager) particulary Locking screen

device_policy_manager A flutter plugin to query Android device Administrator (DevicePolicyManager) particulary Locking screen for more info check Devi

Sep 29, 2022

Snooper android - Flutter platform package for Android which provides concrete implementations for various device info lookups

Snooper android - Flutter platform package for Android which provides concrete implementations for various device info lookups

Flutter platform package for Android which provides concrete implementations for

Jan 27, 2022

A Flutter plugin to access TensorFlow Lite apis.

tensorflow_lite A Flutter plugin to access TensorFlow Lite apis. TensorFlow Lite is TensorFlow’s lightweight solution for mobile and embedded devices.

Nov 22, 2022
Comments
  • Cannot run on ios because of podspec error

    Cannot run on ios because of podspec error

    I'm trying out your plugin to see if it works for iOS but I get this error when I run the example/ios project. any ideas how to fix this so that I can run the project in ios?

    No podspec found for flutter_cameraview in .symlinks/plugins/flutter_cameraview/ios

    Thanks in advance.

    opened by edwardhuerta 1
  • path_provider depends error

    path_provider depends error

    Because every version of flutter_cameraview from git depends on path_provider ^0.5.0+1 and qlink depends on path_provider ^1.6.5, flutter_cameraview from git is forbidden. So, because qlink depends on flutter_cameraview from git, version solving failed. pub get failed (1; So, because qlink depends on flutter_cameraview from git, version solving failed.)

    opened by 120011676 1
  • Not working on Samsung Not 8

    Not working on Samsung Not 8

    The plugin is not working on my only tested device, Samsung Note 8. I'm getting : Error: Camera not opened!

    I think because there's no availableCameras options so I can open a camera

    opened by lambasoft 1
Owner
Herizo Ramaroson
Self-taught coder, #STEM and #AI enthousiast, #Linux lover and #Opensource supporter.
Herizo Ramaroson
A Flutter plugin for iOS and Android allowing access to the device cameras.

A Flutter plugin for iOS and Android allowing access to the device cameras.

Lightsnap 140 Jan 8, 2023
Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders.

Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders.

Vehement 8 Nov 26, 2022
System info plus - A Flutter plugin to get device Random Access Memory (RAM) size

system_info_plus A Flutter plugin to get device Random Access Memory (RAM) size.

Sebghatullah Yusuf 2 Aug 21, 2022
Its a simple app which gives Weather Update, Bit Coin Value Comparator, and Flash Chat Application

Bundle_App_MajorProject Description : Its a simple app which is a bundle of Weather Update App, Bit Coin Value Comparator App, and Flash Chat Applicat

Avinandan Bose 2 Sep 9, 2022
A simple bank UI template with a little bit of backend. Created by Martin Gogołowicz.

Flutter Bank UI A simple bank UI template with a little bit of backend. Created by Martin Gogołowicz. How it looks: Nagranie.z.ekranu.2021-12-2.o.21.5

Martin Gogołowicz 20 Oct 14, 2022
One Dungeon is a ​1-Bit-style platformer game that consists of one level

One Dungeon is a ​1-Bit-style platformer game that consists of one level. It developed during the Midyear 2022 Flame Game Jam.

Bulent Baris Kilic 6 Sep 21, 2022
A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.

Flutter Aeyrium Sensor Plugin Aeyrium Sensor Plugin A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices

Aeyrium 58 Nov 3, 2022
This repo contains a collection of permission related Flutter plugins which can be used to request permissions to access device resources in a cross-platform way.

Flutter Permission Plugins Deprecation Notice This repository has been replaced by the Flutter permission_handler plugin and will not longer be mainta

Baseflow 51 Dec 13, 2021
Resource monitor - A flutter plugin for Android and IOS to monitor CPU and RAM usage of device.

resource_monitor A flutter plugin for Android and IOS to monitor CPU and RAM usage of device. TODO Return overall system cpu/memory usage. Implement A

Skandar Munir 1 Nov 11, 2022