UImageNetwork constructor

const UImageNetwork(
  1. String url, {
  2. Color? color,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.contain,
  6. Clip clipBehavior = Clip.hardEdge,
  7. String? placeholder,
  8. String? package,
  9. GestureTapCallback? onTap,
  10. VoidCallback? onPress,
  11. GestureLongPressCallback? onLongPress,
  12. GestureTapCallback? onDoubleTap,
  13. bool splash = false,
  14. double? pressedScale,
  15. MouseCursor? cursor,
  16. ValueChanged<bool>? onHover,
  17. EdgeInsetsGeometry? margin,
  18. double? opacity,
  19. String? tooltip,
  20. String? heroTag,
  21. bool visible = true,
  22. double? scale,
  23. double? rotate,
  24. Offset? translate,
  25. bool center = false,
  26. bool safeArea = false,
  27. int? expanded,
  28. int? flexible,
  29. bool positioned = false,
  30. double? left,
  31. double? top,
  32. double? right,
  33. double? bottom,
  34. double? positionedWidth,
  35. double? positionedHeight,
  36. Key? key,
})

Implementation

const UImageNetwork(
  this.url, {
  this.color,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  this.clipBehavior = Clip.hardEdge,
  this.placeholder,
  this.package,
  this.onTap,
  this.onPress,
  this.onLongPress,
  this.onDoubleTap,
  this.splash = false,
  this.pressedScale,
  this.cursor,
  this.onHover,
  this.margin,
  this.opacity,
  this.tooltip,
  this.heroTag,
  this.visible = true,
  this.scale,
  this.rotate,
  this.translate,
  this.center = false,
  this.safeArea = false,
  this.expanded,
  this.flexible,
  this.positioned = false,
  this.left,
  this.top,
  this.right,
  this.bottom,
  this.positionedWidth,
  this.positionedHeight,
  super.key,
});