SvgGradientStop constructor

SvgGradientStop(
  1. double? _offset,
  2. SvgColor? _color,
  3. int? _alpha, {
  4. String? id,
  5. String styleClass = '',
})

Implementation

SvgGradientStop(this._offset, this._color, this._alpha,
    {this.id, this.styleClass = ''}) {
  if (color is SvgGradientColor) {
    throw StateError('Internal error:  Gradient stop cannot be gradient');
  }
}