UImageNetwork constructor
const
UImageNetwork(
- String url, {
- Color? color,
- double? width,
- double? height,
- BoxFit fit = BoxFit.contain,
- Clip clipBehavior = Clip.hardEdge,
- String? placeholder,
- String? package,
- GestureTapCallback? onTap,
- VoidCallback? onPress,
- GestureLongPressCallback? onLongPress,
- GestureTapCallback? onDoubleTap,
- bool splash = false,
- double? pressedScale,
- MouseCursor? cursor,
- ValueChanged<
bool> ? onHover, - EdgeInsetsGeometry? margin,
- double? opacity,
- String? tooltip,
- String? heroTag,
- bool visible = true,
- double? scale,
- double? rotate,
- Offset? translate,
- bool center = false,
- bool safeArea = false,
- int? expanded,
- int? flexible,
- bool positioned = false,
- double? left,
- double? top,
- double? right,
- double? bottom,
- double? positionedWidth,
- double? positionedHeight,
- 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,
});