copyWith method
Copies current SideTitles to a new SideTitles, and replaces provided values.
Implementation
SideTitles copyWith({
bool? showTitles,
GetTitleWidgetFunction? getTitlesWidget,
double? reservedSize,
double? interval,
bool? minIncluded,
bool? maxIncluded,
}) {
return SideTitles(
showTitles: showTitles ?? this.showTitles,
getTitlesWidget: getTitlesWidget ?? this.getTitlesWidget,
reservedSize: reservedSize ?? this.reservedSize,
interval: interval ?? this.interval,
minIncluded: minIncluded ?? this.minIncluded,
maxIncluded: maxIncluded ?? this.maxIncluded,
);
}