ImageMap constructor

ImageMap({
  1. 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;