FlashMode enum

Constants indicating the mode of the flash on the receiver's device, if it has one.

It's possible for a flash mode to override the value of a torch mode. This depends on the platform.

Inheritance

Constructors

FlashMode()
const

Values

on → const FlashMode

Indicates that the flash should always be on.

off → const FlashMode

Indicates that the flash should always be off.

auto → const FlashMode

Indicates that the flash should be used automatically depending on ambient light conditions.

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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<FlashMode>
A constant List of the values in this enum, in order of their declaration.