kraken_camera 0.1.0 kraken_camera: ^0.1.0 copied to clipboard
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 kraken_camera
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
kraken_camera: ^0.1.0
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:kraken_camera/camera.dart';
import 'package:kraken_camera/camera_image.dart';
import 'package:kraken_camera/new/camera.dart';
import 'package:kraken_camera/new/src/camera_controller.dart';
import 'package:kraken_camera/new/src/camera_testing.dart';
import 'package:kraken_camera/new/src/common/camera_channel.dart';
import 'package:kraken_camera/new/src/common/camera_interface.dart';
import 'package:kraken_camera/new/src/common/camera_mixins.dart';
import 'package:kraken_camera/new/src/common/native_texture.dart';
import 'package:kraken_camera/new/src/support_android/camera.dart';
import 'package:kraken_camera/new/src/support_android/camera_info.dart';