copyWith method
ScatterLabelSettings
copyWith({
- bool? showLabel,
- GetLabelTextStyleFunction? getLabelTextStyleFunction,
- GetLabelFunction? getLabelFunction,
- TextDirection? textDirection,
Implementation
ScatterLabelSettings copyWith({
bool? showLabel,
GetLabelTextStyleFunction? getLabelTextStyleFunction,
GetLabelFunction? getLabelFunction,
TextDirection? textDirection,
}) {
return ScatterLabelSettings(
showLabel: showLabel ?? this.showLabel,
getLabelTextStyleFunction:
getLabelTextStyleFunction ?? this.getLabelTextStyleFunction,
getLabelFunction: getLabelFunction ?? this.getLabelFunction,
textDirection: textDirection ?? this.textDirection,
);
}