RenderFpsOverlay constructor
RenderFpsOverlay()
Implementation
RenderFpsOverlay() : super() {
Fps.instance.addFpsCallback((List<FpsInfo> fps) {
for (FpsInfo fpsInfo in fps) {
_fpsInfo = fpsInfo;
markNeedsPaint();
}
});
Fps.instance.start();
}