buildDuration property Null safety
The duration to build the frame on the UI thread.
The build starts approximately when PlatformDispatcher.onBeginFrame is
called. The Duration in the PlatformDispatcher.onBeginFrame callback
is exactly the
The build finishes when FlutterView.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);