needLayoutBox property

bool needLayoutBox
final

Whether this flex item needs access to layout box information.

When true, provides the child with a LayoutBox containing layout context such as viewport size, scroll position, and content bounds. This is used internally to enable position units that depend on layout information.

Generally set automatically based on whether position/size units require layout context. Users typically don't need to set this directly.

Implementation

final bool needLayoutBox;