MorphIconData class sealed

Input accepted by the core: either an IconNode or a raw d attribute.

Both variants have const constructors, which matters more than it looks: Dart canonicalizes const objects, so two references to the same generated icon constant are identical. That is what lets the controller port the driver's reference-equality contract (icon !== target) verbatim.

Constructors

MorphIconData.nodes(IconNode els)
Lucide-style [tag, attrs] icon data.
const
factory
MorphIconData.path(String d)
A raw SVG path d attribute.
const
factory

Properties

hashCode int
The hash code for this object.
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