Skip to content

Add a setting to enable debugProfileBuildsEnabledUserWidgets in DevTools #3966

@kenzieschmoll

Description

@kenzieschmoll

Right now, enabling "Track Widget Builds" in DevTools enables the debugProfileBuildsEnabled flag in the Flutter framework. There is another flag, debugProfileBuildsEnabledUserWidgets, that only tracks user-created widget builds instead of every widget build.

We should either:
A) change our setting to enable debugProfileBuildsEnabledUserWidgets instead of debugProfileBuildsEnabled, or
B) add an additional setting "Only track user-created widgets" that enables debugProfileBuildsEnabledUserWidgets.

I think B is a better solution because there may be instances where a user wants to track the build of all widgets to look deeper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions