Flutter FPS Viewer.
Add dependency in pubspec.yaml
dependencies:
flutter_fps_viewer:
git:
url: https://github.com/410063005/flutter_fps_viewer.git
ref: v0.0.1
Show fps in an overlay:
showFpsViewer(context);
Hide fps overlay if necessary:
hideFpsViewer();
You can also use FpsViewerWidget as an Widget:
Container(
child: FpsViewerWidget();
)
For help getting started with Flutter, view our online documentation.