debugDidSendFirstFrameEvent property

bool debugDidSendFirstFrameEvent

Whether the first frame has finished rendering.

Only useful in profile and debug builds; in release builds, this always return false. This can be deferred using deferFirstFrameReport and allowFirstFrameReport. The value is set at the end of the call to drawFrame.

This value can also be obtained over the VM service protocol as ext.flutter.didSendFirstFrameEvent.

Implementation

bool get debugDidSendFirstFrameEvent => !_needToReportFirstFrame;