DiagramSvgInput class final
Imports SVG geometry without executing scripts or fetching resources.
Groups are flattened. Text, images, filters, masks, CSS rules and references are not supported. Compound paths become separate editable paths.
Constructors
- DiagramSvgInput()
-
const
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
-
decode(
String source, {String idPrefix = 'svg'}) → SvgImportResult -
Parses
sourceand returns its supported shapes with the warnings the import produced. -
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