copyWith method

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

Implementation

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