debugDidSendFirstFrameEvent property

bool get debugDidSendFirstFrameEvent

Whether the first frame has finished building.

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.

See also:

Implementation

bool get debugDidSendFirstFrameEvent => !_needToReportFirstFrame;