fake_image_picker 1.0.1 copy "fake_image_picker: ^1.0.1" to clipboard
fake_image_picker: ^1.0.1 copied to clipboard

A ready-to-use fake for the Flutter image_picker plugin. Register it in tests for deterministic fake images and videos.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add fake_image_picker

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

dependencies:
  fake_image_picker: ^1.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:fake_image_picker/fake_image_picker.dart';
0
likes
160
points
190
downloads

Documentation

API reference

Publisher

verified publisherjackowski.dev

Weekly Downloads

A ready-to-use fake for the Flutter image_picker plugin. Register it in tests for deterministic fake images and videos.

Repository (GitHub)
View/report issues

Topics

#image-picker #mock #testing #fake

License

MIT (license)

Dependencies

cross_file, flutter, image_picker_platform_interface, meta

More

Packages that depend on fake_image_picker