Last updated:
0 purchases
fps badge
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
copied to clipboard
Usage #
Import fps_badge in your dart file:
import 'package:fps_badge/fps_badge.dart';
copied to clipboard
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'),
),
),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.