All Projects → fluttercandies → assets_generator

fluttercandies / assets_generator

Licence: MIT license
The flutter tool to generate assets‘s configs(yaml) and consts automatically for single project and multiple modules.

Programming Languages

dart
5743 projects
swift
15916 projects

Projects that are alternatives of or similar to assets generator

Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+561.76%)
Mutual labels:  yaml
Frontyaml
YAML Front matter parser
Stars: ✭ 248 (+629.41%)
Mutual labels:  yaml
composer-asset-compiler
Composer plugin that installs dependencies and compiles assets based on configuration.
Stars: ✭ 19 (-44.12%)
Mutual labels:  assets
Rollback
Ansible role to rollback scripting applications like PHP, Python, Ruby, etc. in a capistrano style
Stars: ✭ 230 (+576.47%)
Mutual labels:  yaml
Cloud Code Samples
Code templates to make working with Kubernetes feel like editing and debugging local code.
Stars: ✭ 245 (+620.59%)
Mutual labels:  yaml
eleventy-load
Resolve dependencies and post-process files in your Eleventy project
Stars: ✭ 28 (-17.65%)
Mutual labels:  assets
Sharpyaml
SharpYaml is a .NET library for YAML compatible with CoreCLR
Stars: ✭ 217 (+538.24%)
Mutual labels:  yaml
cfn-include
Preprocessor for CloudFormation templates with support for loops and flexible include statements
Stars: ✭ 83 (+144.12%)
Mutual labels:  yaml
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+620.59%)
Mutual labels:  yaml
RAImagePicker
📸 iMessage-like, Image Picker Controller Provides custom features.
Stars: ✭ 14 (-58.82%)
Mutual labels:  assets
Config
JSON or YAML configuration wrapper with convenient access methods.
Stars: ✭ 237 (+597.06%)
Mutual labels:  yaml
Thorsserializer
C++ Serialization library for JSON
Stars: ✭ 241 (+608.82%)
Mutual labels:  yaml
phoenix assets webpack
Asset Pipeline with Webpack on Phoenix
Stars: ✭ 52 (+52.94%)
Mutual labels:  assets
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+561.76%)
Mutual labels:  yaml
asset-map-webpack-plugin
Webpack plugin that creates a map of assets to public url slug for server agnostic usage.
Stars: ✭ 14 (-58.82%)
Mutual labels:  assets
Renderer
Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go
Stars: ✭ 220 (+547.06%)
Mutual labels:  yaml
Cli
A simple, fast, and fun package for building command line apps in Go
Stars: ✭ 16,995 (+49885.29%)
Mutual labels:  yaml
yaml-update-action
Update YAML property with dynamic values
Stars: ✭ 81 (+138.24%)
Mutual labels:  yaml
kirby-hashed-assets
🛷 File name hashes support for css() and js() helpers. Without rewrite rules!
Stars: ✭ 15 (-55.88%)
Mutual labels:  assets
egg-view-assets
Manage frontend assets in development and production.
Stars: ✭ 51 (+50%)
Mutual labels:  assets

assets_generator

The flutter tool to generate assets‘s configs(yaml) and consts automatically for single project and multiple modules.

pub package GitHub stars GitHub forks GitHub license GitHub issues flutter-candies

Languages: English | 中文简体

Usage

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

pub global

Activate assets_generator

dart pub global activate assets_generator

Command

Help

agen -h

Demo

agen -t d -s -r lwu

All Commands

-h, --[no-]help       Help usage
-p, --path            Flutter project root path
                      (defaults to ".")
-f, --folder          The root folder of assets
                      (defaults to "assets")
-w, --[no-]watch      Whether continue to monitor the changes of assets
                      (defaults to on)
-t, --type            The type in pubsepec.yaml
                      "d" means directory "- assets/images/"
                      "f" means file      "- assets/images/xxx.jpg"
                      (defaults to "d")
-s, --[no-]save       Whether save the arguments into the local
                      It will execute the local arguments if run "agen" without any arguments
-o, --out             The path of const Class
                      (defaults to "lib")
-r, --rule            The rule for the names of assets' consts
                      "lwu"(lowercase_with_underscores) : "assets_images_xxx_jpg"
                      "uwu"(uppercase_with_underscores) : "ASSETS_IMAGES_XXX_JPG"
                      "lcc"(lowerCamelCase)             : "assetsImagesXxxJpg"
                      (defaults to "lwu")
-c, --class           The name of const Class
                      (defaults to "Assets")
    --const-ignore    The regular to ignore some consts

Dart

Work in Project

    Image.asset(Assets.assets_images_xxx_jpg);

Work in Modules

    Image.asset(
      Assets.assets_images_xxx_jpg,
      package: Assets.package,
    );
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].