FlutterDiagramOutput class final

Renders diagram snapshots to PNG and SVG with Flutter's painting stack.

A canvas installs it as the controller's output backend when it attaches.

Implemented types

Constructors

FlutterDiagramOutput()

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

exportPng(DiagramSnapshot snapshot, PngOptions options) → Future<PngSnapshot>
Renders snapshot as PNG, cropped to PngOptions.bounds.
override
exportPngWithImages(DiagramSnapshot snapshot, PngOptions options, Object imageProvider(DiagramImageSource)) → Future<PngSnapshot>
exportSvg(DiagramSnapshot snapshot, SvgOptions options) → Future<SvgSnapshot>
Renders snapshot as SVG, cropped to SvgOptions.bounds.
override
exportSvgWithImages(DiagramSnapshot snapshot, SvgOptions options, Object imageProvider(DiagramImageSource)) → Future<SvgSnapshot>
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