copyWith method
Creates a copy of this object with the given fields replaced with the new values.
Implementation
IndicatorThemeData copyWith({
Color? color,
double? size,
double? position,
}) {
return IndicatorThemeData(
color: color ?? this.color,
size: size ?? this.size,
position: position ?? this.position,
);
}