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,
);

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

return CustomPerformanceOverlay(
  enabled: false,
  child: child,
);

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
pub points
87%
popularity

Publisher

verified publishercreativemaybeno.dev

Performance overlay package for Flutter apps that works on web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on performance