Format enum Null safety

Image data format.

Inheritance

Constructors

Format()
const

Values

FORMAT_GRAY → const Format

Grayscale, 8 bit per pixel.

Format()
FORMAT_RGB → const Format

RGB, 24 bit per pixel, 8 bit per channel.

Format()
FORMAT_BGR → const Format

BGR, 24 bit per pixel, 8 bit per channel.

Format()
FORMAT_YUV_NV21 → const Format

NV21 format in the YUV color coding system, the standard image format used on the Android camera preview.

Format()
FORMAT_YUV_NV12 → const Format

NV12 format in the YUV color coding system.

Format()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<Format>
A constant List of the values in this enum, in order of their declaration.
[FORMAT_GRAY, FORMAT_RGB, FORMAT_BGR, FORMAT_YUV_NV21, FORMAT_YUV_NV12]