CameraImagePlane class Null safety

A single color plane of image data.

The number and meaning of the planes in an image are determined by its format.

Annotations

Constructors

CameraImagePlane({required Uint8List bytes, required int bytesPerRow, int? bytesPerPixel, int? height, int? width})
Creates a new instance with the given bytes and optional metadata.
const

Properties

bytes Uint8List
Bytes representing this plane.
final
bytesPerPixel int?
The distance between adjacent pixel samples in bytes, when available.
final
bytesPerRow int
The row stride for this color plane, in bytes.
final
hashCode int
The hash code for this object.
read-onlyinherited
height int?
Height of the pixel buffer, when available.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
width int?
Width of the pixel buffer, when available.
final

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