copyWith method

  1. @override
BackgroundFillGradient copyWith({
  1. int? topColor,
  2. int? bottomColor,
  3. int? rotationAngle,
})
override

Implementation

@override
BackgroundFillGradient copyWith({
  int? topColor,
  int? bottomColor,
  int? rotationAngle,
}) => BackgroundFillGradient(
  topColor: topColor ?? this.topColor,
  bottomColor: bottomColor ?? this.bottomColor,
  rotationAngle: rotationAngle ?? this.rotationAngle,
);