startAngle property

double startAngle

If this is a sweep-type Gradient, returns this.startAngle. Otherwise the fallback retrun value is 0.0.

Implementation

double get startAngle => this is IntermediateGradient
    ? (this as IntermediateGradient).packet.startAngle
    : this is SweepGradient
        ? (this as SweepGradient).startAngle
        : this is SweepSteps
            ? (this as SweepSteps).startAngle
            : 0.0;