provider method

ImageProvider<Object> provider({
  1. AssetBundle? bundle,
  2. @Deprecated('Do not specify package for a generated library asset') String? package = package,
})

Implementation

ImageProvider provider({
  AssetBundle? bundle,
  @Deprecated('Do not specify package for a generated library asset')
  String? package = package,
}) {
  return AssetImage(
    _assetName,
    bundle: bundle,
    package: package,
  );
}