debugProfileBuildsEnabledUserWidgets top-level property Null safety
A user-created Widget is any Widget that is constructed in the root library. Often Widgets contain child Widgets that are constructed in libraries (for example, a TextButton having a RichText child). Timeline events for those children will be omitted with this flag. This works for any Widget not just ones declared in the root library.
bool debugProfileBuildsEnabledUserWidgets = false;