Loading assets: Loading images
- Flutter can load resolution-appropriate images for the current device pixel ratio.
- To load an image, use the AssetImage class in a widget’s build method.
- AssetImage understands how to map a logical requested asset onto one that most closely matches the current device pixel ratio. In order for this mapping to work, assets should be arranged according to a particular directory structure:.