copyWith method
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VDividerStyle copyWith({
Color? backgroundColor,
double? thickness,
height,
indent,
endIndent,
}) =>
VDividerStyle(
dividerColor: backgroundColor ?? this.dividerColor,
thickness: thickness ?? this.thickness,
height: height ?? this.height,
indent: indent ?? this.indent,
endIndent: endIndent ?? this.endIndent,
);