fit property

StackFit get fit

How to size the non-positioned children in the stack.

The constraints passed into the RenderStack from its parent are either loosened (StackFit.loose) or tightened to their biggest size (StackFit.expand).

Implementation

StackFit get fit => _fit;
set fit (StackFit value)

Implementation

set fit(StackFit value) {
  if (_fit != value) {
    _fit = value;
    markNeedsLayout();
  }
}