show_fps
1.1.0, released 10 months ago by mantreshkhurana.com
Monitor your Flutter app's FPS and performance metrics in real time with an overlay badge.
What it does
A Flutter widget that wraps your application to monitor and display real-time FPS, frame times, min/max values, and charts. It includes customizable alert thresholds, jank indicators, and interactive features like dragging and collapsing.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to monitor and debug frame rendering performance during development.
- You want a visual overlay showing real-time FPS, dropped frames, and jank indicators.
Skip it when
- You are running production builds where performance overlays should be completely hidden.
- You need deep native profiling tools rather than a lightweight on-screen FPS badge.
Strengths
- Provides real-time FPS monitoring with microsecond precision.
- Includes interactive charts, jank detection, and customizable alert thresholds.
- Supports dragging, collapsing, and temporary hiding features.
Weaknesses
- Adds an overlay widget to the widget tree which may slightly impact rendering.
- Limited to visual on-screen metrics rather than full memory or CPU profiling.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Simply wrap your main widget or MaterialApp with the ShowFPS widget.
import 'package:flutter/material.dart';
import 'package:show_fps/show_fps.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: ShowFPS(
child: const Scaffold(
body: Center(child: Text('Hello World')),
),
),
);
}
}Alternatives
Packages that do the same job and could replace show_fps.
- flutter_perf_monitor
Real-time performance monitoring with FPS tracking, memory usage, and CPU monitoring for Flutter.
60Compare - lumberdash
Simple and extensible logging API with support for custom plugins.
50Compare - performance
Performance overlay package for Flutter apps that works on web.
50Compare - gtm
Flutter plugin for Google Tag Manager on iOS, Android, and Web.
46Compare