ShapeContentResolver class final

Runs provider contributions without giving them publication or controller access.

Constructors

ShapeContentResolver({required ShapeDefinition definition, required Map<String, ShapeContentLayoutProvider> providers, required DiagramTextLayoutEngine textLayout})

Properties

definition → ShapeDefinition
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fit(ShapeElement source, Map<String, double> bands) → ShapeElement
Fits authored bounds to intrinsic requirements before publication.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(ShapeElement source, Map<String, double> bands) → List<ResolvedShapeContent>
Resolves every content layer. Repeating the call for the same source and bands, as fitting followed by publication does, reuses the last result.
toString() → String
A string representation of this object.
inherited

Operators

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