startAngle property Null safety

double startAngle

Returns the interpolation of this Gradient / Gradient-subclass property at keyframe t for gradients a and b.

See GradientUtils to understand how fallbacks are determined for subclasses that do not contain this property.

Implementation

double get startAngle => math.max(
      0.0,
      ui.lerpDouble(_a.startAngle, _b.startAngle, _shareSweepProps ? t : _t)!,
    );