show_fps 1.0.2 show_fps: ^1.0.2 copied to clipboard
A package to show FPS on screen.
Show FPS #
Use ShowFPS to monitor your app's FPS (Frames Per Second) in real time.
Installation #
Add show_fps: ^1.0.2
in your project's pubspec.yaml:
dependencies:
show_fps: ^1.0.2
Usage #
Import show_fps
in your dart file:
import 'package:show_fps/show_fps.dart';
Then warp your Main Widget with ShowFPS
widget:
MaterialApp(
title: 'FPS Monitor',
home: Material(
child: ShowFPS(
visible: true,
showChart: false,
borderRadius: BorderRadius.all(Radius.circular(11)),
child: MyHomePage(title: 'FPS Monitor'),
),
),
);