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

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add test_image_helper

With Flutter:

 $ flutter pub add test_image_helper

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

dependencies:
  test_image_helper: ^1.0.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:test_image_helper/test_image_helper.dart';
6
likes
160
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

mockito

More

Packages that depend on test_image_helper