DecorationTween constructor Null safety
- {Decoration? begin,
- Decoration? end}
Creates a decoration tween.
The begin and end properties may be null. If both are null, then the result is always null. If end is not null, then its lerping logic is used (via Decoration.lerpTo). Otherwise, begin's lerping logic is used (via Decoration.lerpFrom).
Implementation
DecorationTween({ super.begin, super.end });