outline property

ResolvedOutline? outline
latefinal

A surface's resolved outline; null for other parts and for a surface that paints nothing.

Implementation

late final ResolvedOutline? outline = switch (definition) {
  ShapeSurfaceLayerDefinition(:final outline?, :final style) =>
    outline.resolve(bounds, style, values),
  _ => null,
};