copy method Null safety
- covariant LinearGradientBase source
Copies property values, currently doesn't trigger change callbacks. It's meant to be a helper for clone.
Implementation
@override
void copy(covariant LinearGradientBase source) {
super.copy(source);
_startX = source._startX;
_startY = source._startY;
_endX = source._endX;
_endY = source._endY;
_opacity = source._opacity;
}