Information extracted from a raw asset path

Constructor

new(path:String)

Variables

density:Float

Density value resolved from file name. Example: If file is named someImage@2x.png, density will be 2. Default density is 1

extension:String

File extension (always converted to lowercase for convenience)

name:String

Normalized asset name (includes subdirectories relative to asset root). Example: both someImage.png and someImage@2x.png will resolve to a same asset name someImage

path:String

Original path used to generated path info

flags:Map<String, Dynamic>

Flags are extracted from file path. Example: file someFile+myTag.txt will generate myTag flag.