asset_builder

Last updated:

0 purchases

asset_builder Image
asset_builder Images
Add to Cart

Description:

asset builder

Create Code for asset files addresses
Installation #
$dart pub global activate asset_builder // this will enable the `build_assets` cli command

or alternatively for each project:

$dart pub add asset_builder --dev // this way in order to use the cli you have to call `dart run asset_builder` instead of `build_assets`
copied to clipboard
Usage #
# if activated globally:
build_assets -o lib/app/assets/assets.dart -f

# if using as a dev dependency:
dart run asset_builder -o lib/app/assets/assets.dart -f
copied to clipboard
// then in code:
'assets/icons/logo.svg' => $assets.icons.logoSvg
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.