provider method
ImageProvider<Object>
provider({
- AssetBundle? bundle,
- @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,
);
}