debugOnProfilePaint top-level property Null safety
read / write
Callback invoked for every RenderObject painted each frame.
This callback is only invoked in debug builds.
- debugProfilePaintsEnabled, which does something similar but adds dart:developer.Timeline events instead of invoking a callback.
- debugOnRebuildDirtyWidget, which does something similar for widgets being built.
- WidgetInspectorService, which uses the debugOnProfilePaint
callback to generate aggregate profile statistics describing what paints
occurred when the
ext.flutter.inspector.trackRepaintWidgetsservice extension is enabled.