expandedLayers property

Iterable<ShapeLayerDefinition> expandedLayers
latefinal

layers including the portable fallbacks of widget slots, in order.

Implementation

late final Iterable<ShapeLayerDefinition> expandedLayers = List.unmodifiable([
  for (final layer in layers) ...[
    layer,
    if (layer is ShapeWidgetLayerDefinition) ...layer.fallback,
  ],
]);