ImageMap constructor
ImageMap({
- AssetBundle? bundle,
Creates a new ImageMap where images will be loaded from the specified
bundle
, or from the rootBundle if no bundle is provided.
Implementation
ImageMap({AssetBundle? bundle}) : _bundle = bundle ?? rootBundle;