image_test_utils 1.0.0 copy "image_test_utils: ^1.0.0" to clipboard
image_test_utils: ^1.0.0 copied to clipboard

Makes it easier to provide mocked responses for Image.network widgets in widget tests.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add image_test_utils

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

dependencies:
  image_test_utils: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:image_test_utils/image_test_utils.dart';
10
likes
40
pub points
53%
popularity

Publisher

verified publisheriiro.dev

Makes it easier to provide mocked responses for Image.network widgets in widget tests.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

mockito

More

Packages that depend on image_test_utils