getImage method

AssetImage getImage(
  1. String key, {
  2. AssetBundle? bundle,
  3. String? package,
})

Retrieve an AssetImage by its Key value. Supply a parser function to process the operation. (See. Flutter's AssetBundle.loadStructuredData

Implementation

AssetImage getImage(String key, {AssetBundle? bundle, String? package}) {
  return AssetImage(key, bundle: bundle, package: package);
}