frameWillDraw method

  1. @override
  2. @mustCallSuper
void frameWillDraw()
override

Called just before calling SchedulerBinding.handleDrawFrame.

Implementation

@override
@mustCallSuper
void frameWillDraw() {
  startMeasureFrame(profile);
  _drawFrameStopwatch = Stopwatch()..start();
}