copyWith method
Returns a copy of this FDividerStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FDividerStyle.color - The color of the separating line.
- FDividerStyle.padding - The padding surrounding the separating line.
- FDividerStyle.width - The width (thickness) of the separating line.
Implementation
@useResult
FDividerStyle copyWith({Color? color, EdgeInsetsGeometry? padding, double? width}) =>
FDividerStyle(color: color ?? this.color, padding: padding ?? this.padding, width: width ?? this.width);