copyWith method
FlLinkStyle
copyWith({
- LinearGradient? gradient,
- double? lineWidth,
- FlLineDrawMode? drawMode,
- FlLinkCurveType? curveType,
Implementation
FlLinkStyle copyWith({
LinearGradient? gradient,
double? lineWidth,
FlLineDrawMode? drawMode,
FlLinkCurveType? curveType,
}) {
return FlLinkStyle(
gradient: gradient ?? this.gradient,
lineWidth: lineWidth ?? this.lineWidth,
drawMode: drawMode ?? this.drawMode,
curveType: curveType ?? this.curveType,
);
}