Widget.shouldLayout

bool shouldLayout()

Returns whether widget should contribute to the measuring and allocation of its parent.

This is false for invisible children, but also for children that have their own surface.

Returns

true if child should be included in

measuring and allocating