copyWith method

Widget copyWith({
  1. Color? color,
  2. double? width,
  3. double? height,
})

Implementation

Widget copyWith({Color? color, double? width, double? height}) {
  return ImageWidget(
    source,
    key: key,
    fit: fit,
    width: width ?? width,
    height: height ?? height,
    usePlaceHolder: usePlaceHolder,
    color: color ?? color,
    borderRadius: borderRadius,
  );
}