copyWith method

  1. @useResult
FResizableDividerStyle copyWith({
  1. Color? color,
  2. double? width,
  3. FFocusedOutlineStyleDelta? focusedOutlineStyle,
  4. FResizableDividerThumbStyleDelta? thumbStyle,
})

Returns a copy of this FResizableDividerStyle with the given properties replaced.

See customizing widget styles.

Parameters

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,
);