test_assets 0.0.2 copy "test_assets: ^0.0.2" to clipboard
test_assets: ^0.0.2 copied to clipboard

Access your assets folder from your Widget tests

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add test_assets

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

dependencies:
  test_assets: ^0.0.2

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:test_assets/test_assets.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Access your assets folder from your Widget tests

Homepage
Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, glob

More

Packages that depend on test_assets