dart_assets 0.2.0 copy "dart_assets: ^0.2.0" to clipboard
dart_assets: ^0.2.0 copied to clipboard

Professional asset management for Flutter projects. Auto-update pubspec.yaml, generate type-safe code, and optimize images.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dart_assets

Use it

The package has the following executables:

$ dart_assets

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_assets

With Flutter:

 $ flutter pub add dart_assets

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

dependencies:
  dart_assets: ^0.2.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:dart_assets/dart_assets.dart';
1
likes
130
points
74
downloads

Publisher

unverified uploader

Weekly Downloads

Professional asset management for Flutter projects. Auto-update pubspec.yaml, generate type-safe code, and optimize images.

Repository (GitHub)
View/report issues

Topics

#flutter #assets #code-generation #cli

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

args, cli_util, dart_style, image, io, mason_logger, path, watcher, yaml, yaml_edit

More

Packages that depend on dart_assets