copyWith method
- @useResult
- Color? color,
- double? width,
- FFocusedOutlineStyleDelta? focusedOutlineStyle,
- FResizableDividerThumbStyleDelta? thumbStyle,
Returns a copy of this FResizableDividerStyle with the given properties replaced.
See customizing widget styles.
Parameters
- FResizableDividerStyle.color - The divider's color.
- FResizableDividerStyle.width - The divider's width (thickness).
- FResizableDividerStyle.focusedOutlineStyle - The focused outline style.
- FResizableDividerStyle.thumbStyle - The divider thumb's style.
Implementation
@useResult
FResizableDividerStyle copyWith({
Color? color,
double? width,
FFocusedOutlineStyleDelta? focusedOutlineStyle,
FResizableDividerThumbStyleDelta? thumbStyle,
}) => .new(
color: color ?? this.color,
width: width ?? this.width,
focusedOutlineStyle: focusedOutlineStyle?.call(this.focusedOutlineStyle) ?? this.focusedOutlineStyle,
thumbStyle: thumbStyle?.call(this.thumbStyle) ?? this.thumbStyle,
);