Preview class Null safety

Implementers

Constructors

Preview()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

keepRunning bool
read / write

Static Methods

getFrames({required int frames, required int frameDelay, required Stream dataStream, required StreamController controller}) → void
receive a data stream from the camera parse the individual JPEG frames add each stream to the controller stream
getLivePreview({int frames = 5, dynamic frameDelay = 34, required StreamController controller}) → void
initiate connection to camera and get the stream this is different for Z1/V and SC2
stopPreview() → void