centerArc property Null safety

MaterialPointArcTween? centerArc

If begin and end are non-null, returns a tween that interpolates along a circular arc between begin's Rect.center and end's Rect.center.

Implementation

MaterialPointArcTween? get centerArc {
  if (begin == null || end == null)
    return null;
  if (_dirty)
    _initialize();
  return _centerArc;
}