copyWith method

SweepPaint copyWith({
  1. SceneAlignment? center,
  2. double? startAngle,
  3. double? endAngle,
})

Implementation

SweepPaint copyWith({
  SceneAlignment? center,
  double? startAngle,
  double? endAngle,
}) => SweepPaint(
  colors: colors,
  stops: stops,
  center: center ?? this.center,
  startAngle: startAngle ?? this.startAngle,
  endAngle: endAngle ?? this.endAngle,
);