AssetImageBitmap constructor

  1. @Deprecated('Use AssetMapBitmap instead')
const AssetImageBitmap({
  1. required String name,
  2. required double scale,
  3. Size? size,
})

Creates a BitmapDescriptor from an asset image with specified name and scale, and an optional size. Asset images in flutter are stored per: https://flutter.dev/to/resolution-aware-images This method takes into consideration various asset resolutions and scales the images to the right resolution depending on the dpi.

Implementation

@Deprecated('Use AssetMapBitmap instead')
const AssetImageBitmap({required this.name, required this.scale, this.size})
    : super._();