Widget.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.

class Widget
bool
shouldLayout
()

Return Value

Type: bool

true if child should be included in measuring and allocating