copyWith method
BarChartGroupData
copyWith({
- int? x,
- bool? groupVertically,
- List<
BarChartRodData> ? barRods, - double? barsSpace,
- List<
int> ? showingTooltipIndicators,
inherited
Copies current BarChartGroupData to a new BarChartGroupData,
and replaces provided values.
Implementation
BarChartGroupData copyWith({
int? x,
bool? groupVertically,
List<BarChartRodData>? barRods,
double? barsSpace,
List<int>? showingTooltipIndicators,
}) {
return BarChartGroupData(
x: x ?? this.x,
groupVertically: groupVertically ?? this.groupVertically,
barRods: barRods ?? this.barRods,
barsSpace: barsSpace ?? this.barsSpace,
showingTooltipIndicators:
showingTooltipIndicators ?? this.showingTooltipIndicators,
);
}