copyWith method

GradientStop copyWith({
  1. double? offset,
  2. Color32? color,
})

Implementation

GradientStop copyWith({double? offset, Color32? color}) =>
    GradientStop(offset: offset ?? this.offset, color: color ?? this.color);