copyWith method

DropShadow copyWith({
  1. Color? color,
  2. double? direction,
  3. double? distance,
  4. double? radius,
})

Implementation

DropShadow copyWith(
    {Color? color, double? direction, double? distance, double? radius}) {
  return DropShadow(
    color: color ?? this.color,
    direction: direction ?? this.direction,
    distance: distance ?? this.distance,
    radius: radius ?? this.radius,
  );
}