copyWith method

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

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

See customizing widget styles.

Parameters

Implementation

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