Skip to content
Birju Vachhani edited this page Jul 30, 2020 · 3 revisions

Manual

Note: This is a table! If it looks like some verbose logs rather than looking like a table, then head over to the repository to make it look like a table.

KEY TYPE DEFAULT VALUE SCOPE DESCRIPTION
path/paths* String None GROUP Where to locate assets?
class_name* String None GROUP What will be the name of generated dart class?
package String resources GLOBAL Where to generate dart code in the lib folder?
file_name String {class_name} GROUP What will be the name of the generated dart file?
prefix String None GROUP What will be the prefix of generated dart references?
types List All GROUP Which types of assets should be included?
generate_test bool false GLOBAL Generate test cases to make sure that asssets are still present inthe project?
no_comments bool false GLOBAL Removes all the generated comments from top of all generated dart code.Use this to avoid vcs noise.
export bool true GLOBAL Generates a dart file exporting all the generated classes. Can be used toavoid multiple exports.
export_file String resources.dart GLOBAL What will be the name of generated export file?
use_part_of bool false GLOBAL Allows to opt in for using part of instead of exporting generated dartfiles.
Clone this wiki locally