copyWith method

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

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

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

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