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