focal property
AlignmentGeometry?
focal
If this is a radial-type Gradient
, returns this.focal
which may be null
.
Otherwise the fallback retrun value is null
.
Implementation
AlignmentGeometry? get focal => (this is IntermediateGradient)
? (this as IntermediateGradient).packet.focal
: (this is RadialGradient)
? (this as RadialGradient).focal
: (this is RadialSteps)
? (this as RadialSteps).focal
: null;