PostGenerateImageFlutterHelperClassProcessor
Version #1
Description:
EXPERIMENTAL! This processor may change without warning.
Generates a dart helper class for Flutter containing all images’ path for easy access.
Interface:
Config
: PostGenerateImageFlutterHelperClassConfig:v1 [REQUIRED]Input
: PostGenerateInputStructure:v1 [REQUIRED]Output
: FilesStructure:v1
Internally used structures:
ImageResourceDataStoredStructure:v1 Parses matched resource’s data object as ImageResourceDataStoredStructure.
Basic sample:
<processor id="<FLOW_SCOPED_ARBITRARY_ID_GOES_HERE>" name="PostGenerateImageFlutterHelperClassProcessor" version="1" />
Advanced sample:
<processor id="<FLOW_SCOPED_ARBITRARY_ID_GOES_HERE>" name="PostGenerateImageFlutterHelperClassProcessor" version="1">
{
"className": STRING,
"eol": STRING,
"group": STRING,
"imageExtensions": ARRAY<STRING>,
"imageGroups": ARRAY<STRING>,
"indent": STRING,
"key": KEYTRANSFORMATIONCONFIGSTRUCTURE:V1,
"path": STRING,
"property": KEYTRANSFORMATIONCONFIGSTRUCTURE:V1
}
</processor>