spider 4.2.2 copy "spider: ^4.2.2" to clipboard
spider: ^4.2.2 copied to clipboard

A small dart command-line tool for generating dart references of assets from the assets folder.

example/example.md

Basic Example #

Just use following command:

spider build

Before

Widget build(BuildContext context) {
  return Image(image: AssetImage('assets/background.png'));
}

After

Widget build(BuildContext context) {
  return Image(image: AssetImage(Assets.background));
}

Generated Assets Class

class Assets {
  static const String background = 'assets/background.png';
}
365
likes
150
points
5.83k
downloads

Publisher

verified publisherbirju.dev

Weekly Downloads

A small dart command-line tool for generating dart references of assets from the assets folder.

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

ansicolor, args, collection, dart_style, html, http, logging, meta, path, sprintf, watcher, yaml

More

Packages that depend on spider