WidgetRender<A> class final

A render point that builds a widget; the caller chooses the output — SVG, PNG, or a single-page PDF — and the options.

Inheritance

Constructors

WidgetRender(String name, {required Map<String, Object?> encodeArgs(A args), required A decodeArgs(Map<String, Object?> json)})

Properties

decodeArgs → A Function(Map<String, Object?> json)
finalinherited
encodeArgs → Map<String, Object?> Function(A args)
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
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