ImageBundleLoader constructor

const ImageBundleLoader({
  1. required AssetBundle bundle,
  2. String pathPrefix = "packages/mapsforge_flutter_rendertheme/assets/",
})

Creates a new ImageBundleLoader.

bundle The asset bundle to load from. pathPrefix An optional prefix to prepend to the resource path.

Implementation

const ImageBundleLoader({required this.bundle, this.pathPrefix = "packages/mapsforge_flutter_rendertheme/assets/"});