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
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
10
likes
40
points
24
downloads

Publisher

verified publisheriiro.dev

Weekly Downloads

2024.09.26 - 2025.04.10

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

Repository (GitHub)

License

BSD-2-Clause (license)

Dependencies

mockito

More

Packages that depend on image_test_utils