/flutter_cameraview

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

Primary LanguageDartMIT LicenseMIT

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.