copyWith method
- @useResult
- Color? color,
- BorderRadiusGeometry? borderRadius,
- double? width,
- double? spacing,
Returns a copy of this FFocusedOutlineStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FFocusedOutlineStyle.color - The outline's color.
- FFocusedOutlineStyle.borderRadius - The border radius.
- FFocusedOutlineStyle.width - The outline's width.
- FFocusedOutlineStyle.spacing - The spacing between the outline and the outlined widget.
Implementation
@useResult
FFocusedOutlineStyle copyWith({Color? color, BorderRadiusGeometry? borderRadius, double? width, double? spacing}) =>
    FFocusedOutlineStyle(
      color: color ?? this.color,
      borderRadius: borderRadius ?? this.borderRadius,
      width: width ?? this.width,
      spacing: spacing ?? this.spacing,
    );