WidgetAppImage constructor
const
WidgetAppImage({
- Key? key,
- required String? imageUrl,
- double? width,
- double? height,
- dynamic radius = 0,
- Widget? errorWidget,
- Widget? placeholderWidget,
- bool assetImage = false,
- bool autoPrefix = true,
- BoxFit fit = BoxFit.cover,
- Color? color,
- GlobalKey<
State< ? imageGlobalKey,StatefulWidget> > - Alignment? alignment,
- Map<
String, String> ? headers, - int? memCacheWidth,
- int? memCacheHeight,
- int? maxWidthDiskCache,
- int? maxHeightDiskCache,
- OctoImageBuilder? imageBuilder,
- OctoErrorBuilder? errorBuilder,
Implementation
const WidgetAppImage({
super.key,
required this.imageUrl,
this.width,
this.height,
this.radius = 0,
this.errorWidget,
this.placeholderWidget,
this.assetImage = false,
this.autoPrefix = true,
this.fit = BoxFit.cover,
this.color,
this.imageGlobalKey,
this.alignment,
this.headers,
this.memCacheWidth,
this.memCacheHeight,
this.maxWidthDiskCache,
this.maxHeightDiskCache,
this.imageBuilder,
this.errorBuilder,
});