getStopStyle method

SvgGradientStopStyle? getStopStyle()

Get the style attributes for this stop, or null if none are set

Implementation

SvgGradientStopStyle? getStopStyle() {
  if (alphaIsSet || colorIsSet || offsetIsSet) {
    return SvgGradientStopStyle(_offset, _color, _alpha);
  } else {
    return null;
  }
}