hostsText property
Whether instances own a text story: the body has text or content.
Implementation
late final bool hostsText = expandedLayers.any(
(layer) =>
layer is ShapeTextLayerDefinition ||
layer is ShapeContentLayerDefinition,
);