buildDuration property Null safety
The duration to build the frame on the UI thread.
The build starts approximately when Window.onBeginFrame is called. The
Duration in the Window.onBeginFrame callback is exactly the
The build finishes when Window.render is called.
To ensure smooth animations of X fps, this should not exceed 1000/X milliseconds. That's about 16ms for 60fps, and 8ms for 120fps.
Duration get buildDuration => _rawDuration(FramePhase.buildFinish) - _rawDuration(FramePhase.buildStart);