ResolvedIcon class final

A filled, recolorable vector symbol in its declared source viewBox.

Hosts supply normalized CommandPathSource geometry, which already validates coordinates and contour order and snapshots its commands. The resource has no paint or font dependency. Open contours use ordinary filled-path implicit closure. Empty geometry is valid and keeps the instance's layout square without producing paint.

Constructors

ResolvedIcon({required CommandPathSource source, required Rect2D viewBox, required FillRule fillRule})
factory

Properties

fillRule → FillRule
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → CommandPathSource
final
viewBox → Rect2D
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