shape property

Shape get shape
override

This node's shape.

If the shape has a size of zero, it falls back to the inherited shape.

Implementation

@override
late final Shape shape = Rectangle(_size);
  1. @override
set shape (Shape value)
override

Sets this node's own shape. Nodes sized by their content refuse one.

Implementation

@override
set shape(Shape value) => throw UnsupportedError('A LayoutNode is sized by its layout.');