copyWith method

  1. @useResult
FDividerStyle copyWith({
  1. Color? color,
  2. EdgeInsetsGeometry? padding,
  3. double? width,
})

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

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FDividerStyle copyWith({Color? color, EdgeInsetsGeometry? padding, double? width}) =>
    FDividerStyle(color: color ?? this.color, padding: padding ?? this.padding, width: width ?? this.width);