debugOnScheduleBuildFor top-level property
This function is called whenever a build is scheduled for an Element.
To enable this callback, you need to use the TrackingBuildOwnerWidgetsBindingMixin mixin on your WidgetsBinding.
Implementation
void Function(Element e)? debugOnScheduleBuildFor;