copyWith method
- @useResult
- Color? color,
- BorderRadius? borderRadius,
- double? width,
- double? spacing,
Returns a copy of this style with the given properties replaced.
Implementation
@useResult
FFocusedOutlineStyle copyWith({
Color? color,
BorderRadius? borderRadius,
double? width,
double? spacing,
}) =>
FFocusedOutlineStyle(
color: color ?? this.color,
borderRadius: borderRadius ?? this.borderRadius,
width: width ?? this.width,
spacing: spacing ?? this.spacing,
);