statsfl 0.0.2 statsfl: ^0.0.2 copied to clipboard
A simple FPS monitor for Flutter
statsfl - A simple FPS monitor Flutter #
đ¨ Installation #
dependencies:
statsfl: ^0.0.2
â Import #
import 'package:statsfl/statsfl.dart';
đšī¸ Usage #
Just wrap your root view in the StatsFl widget:
StatsFl(child: MyApp());
There are a few additional options you can play with:
return StatsFl(
isEnabled: true, //Toggle on/off
width: 600, //Set size
height: 20, //
showText: true, // Hide text label
sampleTime: .5, //Interval between fps calculations, in seconds.
totalTime: 15, //Total length of timeline, in seconds.
align: Alignment.topLeft, //Alignment of statsbox
child: MyApp());
đ Bugs/Requests #
If you encounter any problems please open an issue. If you feel the library is missing a feature, please raise a ticket on Github and we'll look into it. Pull request are welcome.
đ License #
MIT License