frameWillDraw method
Called just before calling SchedulerBinding.handleDrawFrame.
Implementation
@override
@mustCallSuper
void frameWillDraw() {
if (showWidget) {
startMeasureFrame(profile);
_drawFrameStopwatch = Stopwatch()..start();
}
}