FigmaRenderer class

Renders IR into design.json: a tree of nodes whose properties use Figma Plugin API names and enums, so the plugin can apply them almost verbatim.

This layer knows nothing about Flutter.

Constructors

FigmaRenderer({double screenSpacing = 120})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenSpacing → double
Horizontal distance between screens on the canvas.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(IrDocument doc) → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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