withChange method
Implementation
VMobjectStyle withChange({
List<Color>? fillColors,
List<Color>? strokeColors,
double? strokeWidth,
List<Color>? backgroundStrokeColors,
double? backgroundStrokeWidth,
}) {
var _fillColors = fillColors ?? this.fillColors;
var _strokeColors = strokeColors ?? this.strokeColors;
var _strokeWidth = strokeWidth ?? this.strokeWidth;
var _backgroundStrokeColors =
backgroundStrokeColors ?? this.backgroundStrokeColors;
var _backgroundStrokeWidth =
backgroundStrokeWidth ?? this.backgroundStrokeWidth;
return VMobjectStyle(
fillColors: _fillColors,
strokeColors: _strokeColors,
strokeWidth: _strokeWidth,
backgroundStrokeColors: _backgroundStrokeColors,
backgroundStrokeWidth: _backgroundStrokeWidth,
);
}