flutter_camera_x 0.1.8 flutter_camera_x: ^0.1.8 copied to clipboard
A flutter plugin for androidX CameraX API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_camera_x
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_camera_x: ^0.1.8
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_camera_x/CameraXController.dart';
import 'package:flutter_camera_x/CameraXDescriptor.dart';
import 'package:flutter_camera_x/CameraXMethodChannel.dart';
import 'package:flutter_camera_x/flutter_cameraX.dart';
import 'package:flutter_camera_x/models/CameraXConstants.dart';
import 'package:flutter_camera_x/models/enums.dart';