fit property

StackFit 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;
void fit=(StackFit value)

Implementation

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