这是indexloc提供的服务,不要输入任何密码

camera 0.5.6+3 copy "camera: ^0.5.6+3" to clipboard
camera: ^0.5.6+3 copied to clipboard

outdated

A Flutter plugin for getting information about and controlling the camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing 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.5.6+3

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.46k
likes
0
points
548k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

A Flutter plugin for getting information about and controlling the camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video, and streaming image buffers to dart.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on camera