camera 0.11.0+2 copy "camera: ^0.11.0+2" to clipboard
camera: ^0.11.0+2 copied to clipboard

A Flutter plugin for controlling the camera. Supports previewing the camera feed, capturing images and video, and streaming image buffers to Dart.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add camera

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  camera: ^0.11.0+2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:camera/camera.dart';
2.31k
likes
160
points
412k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

A Flutter plugin for controlling the camera. Supports previewing the camera feed, capturing images and video, and streaming image buffers to Dart.

Repository (GitHub)
View/report issues
Contributing

Topics

#camera

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

camera_android_camerax, camera_avfoundation, camera_platform_interface, camera_web, flutter, flutter_plugin_android_lifecycle

More

Packages that depend on camera