debugPrintLayouts top-level property

bool debugPrintLayouts
read / write

Log the dirty render objects that are laid out each frame.

Combined with debugPrintBeginFrameBanner, this allows you to distinguish layouts triggered by the initial mounting of a render tree (e.g. in a call to runApp) from the regular layouts triggered by the pipeline.

Combined with debugPrintMarkNeedsLayoutStacks, this lets you watch a render object's dirty/clean lifecycle.

See also:

Implementation

bool debugPrintLayouts = false