radius property
double
get
radius
If this is a radial-type Gradient
, returns this.radius
.
Otherwise the fallback retrun value is 0.0
.
Implementation
double get radius => (this is IntermediateGradient)
? (this as IntermediateGradient).packet.radius
: (this is RadialGradient)
? (this as RadialGradient).radius
: (this is RadialSteps)
? (this as RadialSteps).radius
: 0.0;