UImageMemory constructor

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

Implementation

const UImageMemory(
  this.file, {
  this.color,
  this.width,
  this.height,
  this.placeholder,
  this.fit = BoxFit.contain,
  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,
});