waitUntilFirstFrameRasterized method

Future<void> waitUntilFirstFrameRasterized ()

Waits until the next Window.onReportTimings is called.

Use this method to wait for the first frame to be rasterized during the app launch.

Implementation

Future<void> waitUntilFirstFrameRasterized() async {
  await _sendCommand(const WaitForCondition(FirstFrameRasterized()));
}