camera_macos 0.0.7+2 camera_macos: ^0.0.7+2 copied to clipboard
macOS camera package implementation. Supports both internal and external cameras, can take pictures and record video with audio as well.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add camera_macos
With Flutter:
$ flutter pub add camera_macos
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
camera_macos: ^0.0.7+2
Alternatively, your editor might support dart pub get
or 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_macos/camera_macos_arguments.dart';
import 'package:camera_macos/camera_macos_controller.dart';
import 'package:camera_macos/camera_macos_device.dart';
import 'package:camera_macos/camera_macos_file.dart';
import 'package:camera_macos/camera_macos_method_channel.dart';
import 'package:camera_macos/camera_macos_platform_interface.dart';
import 'package:camera_macos/camera_macos_view.dart';
import 'package:camera_macos/exceptions.dart';
import 'package:camera_macos/extensions.dart';
import 'package:camera_macos/nskit_platform_view.dart';