performance 0.1.1 copy "performance: ^0.1.1" to clipboard
performance: ^0.1.1 copied to clipboard

Performance overlay package for Flutter apps that works on web.

performance GitHub stars Pub version demo badge Twitter Follow #

Performance overlay package for Flutter apps that works on web.

sample

Getting started #

To use this package, follow the installing guide.

Usage #

Adding the performance overlay is as simple as wrapping your app in the CustomPerformanceOverlay widget:

return CustomPerformanceOverlay(
  child: child,
);
copied to clipboard

You can also disable it on-demand using the enabled parameter:

return CustomPerformanceOverlay(
  enabled: false,
  child: child,
);
copied to clipboard

Furthermore, you can also use the following parameters for customization:

  • alignment and scale for alignment and sizing of the overlay.
  • sampleSize, targetFrameTime, and barRangeMax for how the performance data is displayed.
  • backgroundColor, textColor, textBackgroundColor, uiColor, rasterColor, and highLatencyColor for custom theming.

See the CustomPerformanceOverlay class documentation for more information on each of these members.


To understand how to read the charts and limitations, please see the main README on GitHub.

28
likes
160
points
2.35k
downloads

Publisher

verified publishercreativemaybeno.dev

Weekly Downloads

2024.10.02 - 2025.04.16

Performance overlay package for Flutter apps that works on web.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on performance