AssetImageBitmap constructor
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.cn/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._();