copyWith method

BoxDecorationTween copyWith({
  1. BoxDecoration? begin,
  2. BoxDecoration? end,
})

Implementation

BoxDecorationTween copyWith({BoxDecoration? begin, BoxDecoration? end}) {
  return BoxDecorationTween(begin: begin ?? this.begin, end: end ?? this.end);
}