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

outdated

A small dart command-line tool to generate Assets dart code from the assets folder.

example/EXAMPLE.md

Example #

Just use following command:

spider

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';
}
290
likes
0
pub points
94%
popularity

Publisher

verified publisherbirju.dev

A small dart command-line tool to generate Assets dart code from the assets folder.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, path, yaml

More

Packages that depend on spider