gg_fake_stopwatch 1.2.3 copy "gg_fake_stopwatch: ^1.2.3" to clipboard
gg_fake_stopwatch: ^1.2.3 copied to clipboard

A stopwatch that is in sync with FakeAsync.elapsed. Use this stopwatch in tests using fakeAsync.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gg_fake_stopwatch

With Flutter:

 $ flutter pub add gg_fake_stopwatch

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

dependencies:
  gg_fake_stopwatch: ^1.2.3

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:gg_fake_stopwatch/gg_fake_stopwatch.dart';
0
likes
160
points
85
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

A stopwatch that is in sync with FakeAsync.elapsed. Use this stopwatch in tests using fakeAsync.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on gg_fake_stopwatch