copyWith method
Returns a copy of this DividerSettings with the given fields replaced.
Implementation
DividerSettings copyWith({
double? indent,
double? endIndent,
double? thickness,
BoxDecoration? decoration,
Duration? duration,
Curve? curve,
bool? isHideAutomatically,
}) {
return DividerSettings(
indent: indent ?? this.indent,
endIndent: endIndent ?? this.endIndent,
thickness: thickness ?? this.thickness,
decoration: decoration ?? this.decoration,
duration: duration ?? this.duration,
curve: curve ?? this.curve,
isHideAutomatically: isHideAutomatically ?? this.isHideAutomatically,
);
}