assets_generator 1.0.0
assets_generator: ^1.0.0 copied to clipboard
auto generate assets configs in yaml.
assets_generator #
auto generate assets configs in yaml.
Usage #
Import #
dev_dependencies:
assets_generator: ^1.0.0
Prepare the Environment #
you need to add pub bin path into your system path.
| Platform | Cache location |
|---|---|
| macOS or Linux | $HOME/.pub-cache/bin |
| Windows* | %APPDATA%\Pub\Cache\bin |
Execute Command #
-
pub global activate assets_generator -
assets_generator path=xxxx type=0
| Parameter | Description | Default |
|---|---|---|
| path | your project path | current directory |
| Windows* | 0 = directory ; 1 = file | 0 |