MImageProvider constructor
const
MImageProvider(
- String url, {
- int? maxHeight,
- int? maxWidth,
- double scale = 1.0,
- MErrorListener? errorListener,
- Map<
String, String> ? headers, - BaseCacheManager? cacheManager,
- String? cacheKey,
- MImageRenderMethodForWeb imageRenderMethodForWeb = MImageRenderMethodForWeb.HtmlImage,
Implementation
const MImageProvider(
this.url, {
this.maxHeight,
this.maxWidth,
this.scale = 1.0,
this.errorListener,
this.headers,
this.cacheManager,
this.cacheKey,
this.imageRenderMethodForWeb = MImageRenderMethodForWeb.HtmlImage,
});