copyWith method
WheelLabelStyle
copyWith({
- TextStyle? labelStyle,
- double? angle,
- TextOverflow? overflow,
- int? maxLines,
Creates a copy of this style with the given fields replaced.
Implementation
WheelLabelStyle copyWith({
TextStyle? labelStyle,
double? angle,
TextOverflow? overflow,
int? maxLines,
}) {
return WheelLabelStyle(
labelStyle: labelStyle ?? this.labelStyle,
angle: angle ?? this.angle,
overflow: overflow ?? this.overflow,
maxLines: maxLines ?? this.maxLines,
);
}