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

discontinued

Type-safe asset mapping for Flutter. Generates nested Dart code for easy asset access.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate assetx

Use it

The package has the following executables:

$ assetx

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add assetx

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

dependencies:
  assetx: ^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:assetx/assetx.dart';
0
likes
0
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

Type-safe asset mapping for Flutter. Generates nested Dart code for easy asset access.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, json_annotation, path, yaml

More

Packages that depend on assetx