SfSymbolEffect enum

An SF Symbols animation, applied with UIKit's or AppKit's addSymbolEffect.

Requires iOS 17 or macOS 14, and wiggle, rotate and breathe require iOS 18 or macOS 15. A symbol asked for an effect the running OS does not have simply stays still.

Inheritance
Available extensions

Values

bounce → const SfSymbolEffect

A quick nudge, up by default.

pulse → const SfSymbolEffect

Fades the symbol's layers in and out.

variableColor → const SfSymbolEffect

Lights the symbol's layers up in turn — signal strength, loading.

scale → const SfSymbolEffect

Scales the symbol up and holds it there.

wiggle → const SfSymbolEffect

Shakes the symbol side to side. Requires iOS 18 or macOS 15.

rotate → const SfSymbolEffect

Spins part of the symbol. Requires iOS 18 or macOS 15.

breathe → const SfSymbolEffect

Swells and shrinks, slowly. Requires iOS 18 or macOS 15.

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