AlphaMode enum

The material's alpha rendering mode enumeration specifying the interpretation of the alpha value of the base color.

Inheritance
Available extensions

Values

opaque → const AlphaMode

The alpha value is ignored, and the rendered output is fully opaque.

const AlphaMode('OPAQUE')
mask → const AlphaMode

The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alphaCutoff value; the exact appearance of the edges MAY be subject to implementation-specific techniques such as "Alpha-to-Coverage"

const AlphaMode('MASK')
blend → const AlphaMode

The alpha value is used to composite the source and destination areas. The rendered output is combined with the background using the normal painting operation (i.e. the Porter and Duff over operator).

const AlphaMode('BLEND')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

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

Static Methods

parse(Map<String, Object?> map, String key) AlphaMode?
valueOf(String value) AlphaMode

Constants

values → const List<AlphaMode>
A constant List of the values in this enum, in order of their declaration.