ImageProvider.fromImageProvider constructor
ImageProvider.fromImageProvider(
- ImageProvider<
Object> provider, { - bool cacheable = true,
- String? id,
- Function? onError,
Implementation
ImageProvider.fromImageProvider(painting.ImageProvider provider,
{bool cacheable = true, String? id, Function? onError})
: this(() => _imageFromImageProvider(provider),
id: id, cacheable: cacheable, onError: onError);