copyWith method

  1. @useResult
FDividerStyles copyWith({
  1. FDividerStyle? horizontalStyle,
  2. FDividerStyle? verticalStyle,
})

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

Implementation

@useResult
FDividerStyles copyWith({FDividerStyle? horizontalStyle, FDividerStyle? verticalStyle}) => FDividerStyles(
      horizontalStyle: horizontalStyle ?? this.horizontalStyle,
      verticalStyle: verticalStyle ?? this.verticalStyle,
    );