enabled property

bool enabled
final

Whether the custom performance overlay should be enabled or not.

When this is false, the custom performance overlay will not be inserted into the tree and therefore not be visible. Note that toggling this will only add or remove a child of a Stack, which means that it is preferable to toggle this property instead of returning a completely different widget tree.

Defaults to true.

Implementation

final bool enabled;