provider method

ImageProvider<Object> provider({
  1. AssetBundle? bundle,
  2. String? package,
})

Implementation

ImageProvider provider({
  AssetBundle? bundle,
  String? package,
}) {
  return AssetImage(
    _assetName,
    bundle: bundle,
    package: package,
  );
}