copyWith method
BetweenLineData
copyWith({
- bool? visible,
- ChartRotation? rotation,
- Offset? origin,
- IChartLayout? layout,
- bool? crop,
- LineData? from,
- LineData? to,
- Color? color,
- Gradient? gradient,
- PathFillType? areaFillType,
Implementation
BetweenLineData copyWith({
bool? visible,
ChartRotation? rotation,
Offset? origin,
IChartLayout? layout,
bool? crop,
LineData? from,
LineData? to,
Color? color,
Gradient? gradient,
PathFillType? areaFillType,
}) {
return BetweenLineData(
visible: visible ?? this.visible,
rotation: rotation ?? this.rotation,
origin: origin ?? this.origin,
layout: layout ?? this.layout,
crop: crop ?? this.crop,
from: from ?? this.from,
to: to ?? this.to,
areaColor: color ?? this.areaColor,
areaGradient: gradient ?? this.areaGradient,
areaFillType: areaFillType ?? this.areaFillType,
);
}