simple_assets_generator 1.0.8 copy "simple_assets_generator: ^1.0.8" to clipboard
simple_assets_generator: ^1.0.8 copied to clipboard

Assets generator package.

Run in terminal :

flutter pub run simple_assets_generator:generate -i assets/path/files -o lib -n Images -ext jpeg,png -fn asset_names

[required] -i assets directory, in my case assets/path/files

[required] -o generated file output path, lib/assets_names in my case

[optional] -n generated class name

[optional] -fn generated file name

[optional] -ext generate only if file extension in given extensions

Open pub.dev

class TxtFiles {
  static String fileTxt = 'assets/path/files/file.txt';
}
class Images {
  static String fileTxt = 'assets/path/files/logo.png';
}
1
likes
100
points
90
downloads

Publisher

unverified uploader

Weekly Downloads

Assets generator package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

cupertino_icons, flutter, path

More

Packages that depend on simple_assets_generator