shouldLayout

open fun shouldLayout(): Boolean

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.

Return

true if child should be included in measuring and allocating