copyWith method
FlPortStyle
copyWith({
- FlPortShape? shape,
- Color? color,
- FlLinkStyleBuilder? linkStyleBuilder,
- double? radius,
Implementation
FlPortStyle copyWith({
FlPortShape? shape,
Color? color,
FlLinkStyleBuilder? linkStyleBuilder,
double? radius,
}) {
return FlPortStyle(
shape: shape ?? this.shape,
color: color ?? this.color,
radius: radius ?? this.radius,
linkStyleBuilder: linkStyleBuilder ?? this.linkStyleBuilder,
);
}