PreviewOutput class

Implementation of intf.PreviewOutput using iOS AVFoundation API.

Implemented types

Constructors

PreviewOutput()

Properties

hashCode int
The hash code for this object.
no setterinherited
preview Preview
Widget to display preview frames of a CaptureDevice.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(covariant CameraController controller) Future<void>
Called when an output should be attached to a CameraController.
detach(covariant CameraController controller) Future<void>
Called when an output should be detached from a CameraController.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputSize() Future<Size?>
The size in pixels retrieved by the output.
override
previewWidget() Future<Widget>
A widget that displays the preview frames of a camera device.
override
setRotation(OutputRotation rotation) Future<void>
Set the rotation of the output relative to the natural orientation of the device.
override
toString() String
A string representation of this object.
inherited
verifyAttached() → void
Throws an AssertionError if this CameraOutput has not been attached to a CameraController.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited