end property
If this is a linear-type Gradient
, returns this.end
.
Otherwise the fallback retrun value is Alignment.center.
Implementation
AlignmentGeometry get end => (this is IntermediateGradient)
? (this as IntermediateGradient).packet.end
: (this is LinearGradient)
? (this as LinearGradient).end
: (this is LinearSteps)
? (this as LinearSteps).end
: Alignment.center;