waitUntilFirstFrameRasterized property

Future<void> waitUntilFirstFrameRasterized

A future that completes when the Flutter engine has rasterized the first frame.

Usually, the time that a frame is rasterized is very close to the time that it gets presented on the display. Specifically, rasterization is the last expensive phase of a frame that's still in Flutter's control.

See also:

Implementation

Future<void> get waitUntilFirstFrameRasterized => _firstFrameCompleter.future;