DiagramIcon class final

The icon of a declaration, such as a property's toolbar button or a tool's palette entry.

The declaring extension owns it end to end: name identifies it for a host's own icon set, and svg is the portable glyph a host draws when it has no icon for name. Glyphs are single-color SVG documents; hosts tint them with their icon color.

Constructors

DiagramIcon(String name, {String? svg})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
svg → 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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override