copyWith method
- @useResult
- Color? color,
- double? width,
- FFocusedOutlineStyle focusedOutlineStyle(
- FFocusedOutlineStyle style
- FResizableDividerThumbStyle thumbStyle()?,
Returns a copy of this FResizableDividerStyle with the given properties replaced.
Consider using the CLI to generate a style.
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,
FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
FResizableDividerThumbStyle Function(FResizableDividerThumbStyle style)? thumbStyle,
}) => FResizableDividerStyle(
color: color ?? this.color,
width: width ?? this.width,
focusedOutlineStyle: focusedOutlineStyle != null
? focusedOutlineStyle(this.focusedOutlineStyle)
: this.focusedOutlineStyle,
thumbStyle: thumbStyle != null ? thumbStyle(this.thumbStyle) : this.thumbStyle,
);