MAccentedRendering enum

Progress Bar widget. How an image is rendered when the user tints their widgets.

From iOS 18 the Home Screen can render widgets in a tinted (accented) mode. By default an image is drawn with the tint colour — right for icons and SF Symbols, but it turns a photo into a flat silhouette. iOS 18+ only; Android has no equivalent and ignores this.

Inheritance
Available extensions

Values

accented → const MAccentedRendering

Drawn with the widget's tint colour. Good for icons and glyphs.

accentedDesaturated → const MAccentedRendering

Tinted, with the image's own luminance preserved.

desaturated → const MAccentedRendering

Greyscale, not tinted.

fullColor → const MAccentedRendering

Left alone. The right choice for photos and artwork.

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

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<MAccentedRendering>
A constant List of the values in this enum, in order of their declaration.