frameguard 0.6.0
frameguard: ^0.6.0 copied to clipboard
FrameGuard — performance regressions, testable. Capture Flutter frame timings, classify jank, enforce budgets, compare baselines, and fail CI on measurable UI regressions. Local by default. No telemetry.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate frameguardUse it
The package has the following executables:
$ frameguard
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add frameguardThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
frameguard: ^0.6.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:frameguard/frameguard.dart';