debugPrintBuildScope top-level property Null safety
read / write
Log all calls to BuildOwner.buildScope.
Combined with debugPrintScheduleBuildForStacks, this allows you to track when a State.setState call gets serviced.
Combined with debugPrintRebuildDirtyWidgets or debugPrintBeginFrameBanner, this allows you to distinguish builds triggered by the initial mounting of a widget tree (e.g. in a call to runApp) from the regular builds triggered by the pipeline.
See also:
- WidgetsBinding.drawFrame, which pumps the build and rendering pipeline to generate a frame.
Implementation
bool debugPrintBuildScope = false;