flutter_better_camera 1.0.3 flutter_better_camera: ^1.0.3 copied to clipboard
Flutter plugin for controlling the camera on Android and IOS, supports camera feed, capturing images, capturing videos, streaming image buffers and has support for all the essential features the camer [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_better_camera
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_better_camera: ^1.0.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:flutter_better_camera/camera.dart';
import 'package:flutter_better_camera/camera_image.dart';
import 'package:flutter_better_camera/new/camera.dart';
import 'package:flutter_better_camera/new/src/camera_controller.dart';
import 'package:flutter_better_camera/new/src/camera_testing.dart';
import 'package:flutter_better_camera/new/src/common/camera_channel.dart';
import 'package:flutter_better_camera/new/src/common/camera_interface.dart';
import 'package:flutter_better_camera/new/src/common/camera_mixins.dart';
import 'package:flutter_better_camera/new/src/common/native_texture.dart';
import 'package:flutter_better_camera/new/src/support_android/camera.dart';
import 'package:flutter_better_camera/new/src/support_android/camera_info.dart';