MaterialRectArcTween constructor Null safety

MaterialRectArcTween(
  1. {Rect? begin,
  2. Rect? end}
)

Creates a Tween for animating Rects along a circular arc.

The begin and end properties must be non-null before the tween is first used, but the arguments can be null if the values are going to be filled in later.

Implementation

MaterialRectArcTween({
  super.begin,
  super.end,
});