debugEnhanceBuildTimelineArguments top-level property Null safety
This flag will only add Timeline event arguments for debug builds. Additional arguments will be added for the "BUILD" Timeline event and for all Widget build Timeline events, which are the Timeline events that are added when either of debugProfileBuildsEnabled and debugProfileBuildsEnabledUserWidgets are true. The debugging information that will be added in trace arguments includes stats around Widget dirty states and Widget diagnostic information (i.e. Widget properties).
- debugProfileBuildsEnabled, which adds Timeline events for every Widget built.
- debugProfileBuildsEnabledUserWidgets, which adds Timeline events for every user-created Widget built.
- debugEnhanceLayoutTimelineArguments, which does something similar for events related to RenderObject layouts.
- debugEnhancePaintTimelineArguments, which does something similar for events related to RenderObject paints.
bool debugEnhanceBuildTimelineArguments = false;