Skip to main content

rebuildcop 0.2.0 copy "rebuildcop: ^0.2.0" to clipboard
rebuildcop: ^0.2.0 copied to clipboard

retracted

Catch unnecessary widget rebuilds in Flutter: a Dart test helper that fails widget tests over a measured rebuild budget. Headless, no device, no probes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rebuildcop

With Flutter:

 $ flutter pub add rebuildcop

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  rebuildcop: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:rebuildcop/rebuildcop.dart';
0
likes
0
points
599
downloads

Publisher

unverified uploader

Weekly Downloads

Catch unnecessary widget rebuilds in Flutter: a Dart test helper that fails widget tests over a measured rebuild budget. Headless, no device, no probes.

Repository (GitHub)
View/report issues

Topics

#flutter #testing #performance #widget-test #rebuild

License

unknown (license)

Dependencies

flutter, flutter_test

More

Packages that depend on rebuildcop