copyWith method

DividersStyle copyWith({
  1. Color? color,
  2. double? width,
  3. Duration? interval,
})

Implementation

DividersStyle copyWith({Color? color, double? width, Duration? interval}) {
  return DividersStyle.raw(
    color: color ?? this.color,
    width: width ?? this.width,
    interval: interval ?? this.interval,
  );
}