debugProfilePaintsEnabled top-level property Null safety

bool debugProfilePaintsEnabled
read / write

Adds dart:developer.Timeline events for every RenderObject painted.

The timing information this flag exposes is not representative of actual paints. However, it can expose unexpected painting in the timeline.

For details on how to use dart:developer.Timeline events in the Dart Observatory to optimize your app, see: fuchsia.googlesource.com/topaz/+/master/shell/docs/performance.md

See also:

Implementation

bool debugProfilePaintsEnabled = false;