SvgMarkupSource class final

SVG markup source.

When paintStyle is omitted, the source style is inferred from the drawable elements' inline fill, stroke and style attributes. The inference follows SVG's monochrome defaults (filled unless a stroke-only declaration is present) and returns MeldSourcePaintStyle.both when both operations are present. Pass paintStyle when the visual style is supplied by external CSS that is not embedded in markup.

Inheritance

Constructors

SvgMarkupSource(String markup, {MeldSourcePaintStyle? paintStyle})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
markup String
final
paintStyle MeldSourcePaintStyle
The source's own rendering intent used by MeldPaintStyle.original.
no setteroverride
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