camerawesome 0.3.0-nullsafety camerawesome: ^0.3.0-nullsafety copied to clipboard
Easyest Flutter camera Plugin supporting capturing images, streaming images, video recording, switch sensors, autofocus, flash... on Android and iOS
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add camerawesome
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
camerawesome: ^0.3.0-nullsafety
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:camerawesome/camerapreview.dart';
import 'package:camerawesome/camerawesome_plugin.dart';
import 'package:camerawesome/generated/i18n.dart';
import 'package:camerawesome/models/capture_modes.dart';
import 'package:camerawesome/models/flashmodes.dart';
import 'package:camerawesome/models/orientations.dart';
import 'package:camerawesome/models/sensor_data.dart';
import 'package:camerawesome/models/sensors.dart';
import 'package:camerawesome/picture_controller.dart';
import 'package:camerawesome/video_controller.dart';