copyWith method

AnySide copyWith({
  1. double? width,
  2. double? align,
  3. Color? color,
  4. Gradient? gradient,
  5. DecorationImage? image,
  6. BlendMode? blendMode,
  7. bool? isAntiAlias,
})

Implementation

AnySide copyWith({
  double? width,
  double? align,
  Color? color,
  Gradient? gradient,
  DecorationImage? image,
  BlendMode? blendMode,
  bool? isAntiAlias,
}) {
  return AnySide(
    width: width ?? this.width,
    align: align ?? this.align,
    color: color ?? this.color,
    gradient: gradient ?? this.gradient,
    image: image ?? this.image,
    blendMode: blendMode ?? this.blendMode,
    isAntiAlias: isAntiAlias ?? this.isAntiAlias,
  );
}