copyWith method

  1. @useResult
FResizableDividerStyle copyWith({
  1. Color? color,
  2. double? width,
  3. FResizableDividerThumbStyle? thumbStyle,
})

Returns a copy of this but with the given fields replaced with the new values.

Implementation

@useResult
FResizableDividerStyle copyWith({
  Color? color,
  double? width,
  FResizableDividerThumbStyle? thumbStyle,
}) =>
    FResizableDividerStyle(
      color: color ?? this.color,
      width: width ?? this.width,
      thumbStyle: thumbStyle ?? this.thumbStyle,
    );