layers property
The one body text slot, filling the frame.
Implementation
late final List<ShapeTextLayerDefinition> layers = List.unmodifiable(
ShapeText(
TextRole.body.name,
textType: textType,
horizontalPadding: 0,
verticalAlignment: DiagramTextVerticalAlignment.center,
placeholder: placeholder,
)._compile(const ShapeBoundsDefinition.frame(), TextRole.body.name).cast(),
);