ResolutionPreset enum Null safety

Affect the quality of video recording and image capture:

If a preset is not available on the camera being used a preset of lower quality will be selected automatically.

Inheritance

Constructors

ResolutionPreset()
const

Values

low → const ResolutionPreset

352x288 on iOS, 240p (320x240) on Android and Web

const ResolutionPreset(0)
medium → const ResolutionPreset

480p (640x480 on iOS, 720x480 on Android and Web)

const ResolutionPreset(1)
high → const ResolutionPreset

720p (1280x720)

const ResolutionPreset(2)
veryHigh → const ResolutionPreset

1080p (1920x1080)

const ResolutionPreset(3)
ultraHigh → const ResolutionPreset

2160p (3840x2160 on Android and iOS, 4096x2160 on Web)

const ResolutionPreset(4)
max → const ResolutionPreset

The highest resolution available.

const ResolutionPreset(5)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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<ResolutionPreset>
A constant List of the values in this enum, in order of their declaration.
[low, medium, high, veryHigh, ultraHigh, max]