CameraDesktopPlugin constructor
CameraDesktopPlugin({
- @visibleForTesting MethodChannel? channel,
- bool mirrorPreview = true,
Creates a new CameraDesktopPlugin.
The channel parameter is exposed for testing only.
Implementation
CameraDesktopPlugin({
@visibleForTesting MethodChannel? channel,
this.mirrorPreview = true,
}) : _channel =
channel ?? const MethodChannel('plugins.flutter.io/camera_desktop');