statsfl 2.3.0 icon indicating copy to clipboard operation
statsfl: ^2.3.0 copied to clipboard

A simple FPS monitor for Flutter. Helps to easily diagnose performance problems in your applications.

statsfl - A simple FPS monitor for Flutter #

🔨 Installation #

dependencies:
  statsfl: ^2.2.0+1

⚙ 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, //
        maxFps: 90, // Support custom FPS target (default is 60)
        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

81
likes
120
pub points
92%
popularity

Publisher

verified publisher icongskinner.com

A simple FPS monitor for Flutter. Helps to easily diagnose performance problems in your applications.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on statsfl