debugProfilePaintsEnabled top-level property Null safety

bool debugProfilePaintsEnabled
read / write

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

This is only enabled in debug builds. The timing information this 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:

See also:


bool debugProfilePaintsEnabled = false;