WidgetAppImage constructor

const WidgetAppImage({
  1. Key? key,
  2. required String? imageUrl,
  3. double? width,
  4. double? height,
  5. dynamic radius = 0,
  6. Widget? errorWidget,
  7. Widget? placeholderWidget,
  8. bool assetImage = false,
  9. bool autoPrefix = true,
  10. BoxFit fit = BoxFit.cover,
  11. Color? color,
  12. GlobalKey<State<StatefulWidget>>? imageGlobalKey,
  13. Alignment? alignment,
  14. Map<String, String>? headers,
  15. int? memCacheWidth,
  16. int? memCacheHeight,
  17. int? maxWidthDiskCache,
  18. int? maxHeightDiskCache,
  19. OctoImageBuilder? imageBuilder,
  20. 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,
});