copyWith method
Implementation
TimePickerSweepDecoration copyWith({
double? pickerStrokeWidth,
Color? pickerColor,
SweepGradient? pickerGradient,
bool? showConnector,
double? connectorStrokeWidth,
Color? connectorColor,
}) {
return TimePickerSweepDecoration(
pickerStrokeWidth: pickerStrokeWidth ?? this.pickerStrokeWidth,
pickerColor: pickerColor ?? this.pickerColor,
pickerGradient: pickerGradient ?? this.pickerGradient,
showConnector: showConnector ?? this.showConnector,
connectorStrokeWidth: connectorStrokeWidth ?? this.connectorStrokeWidth,
connectorColor: connectorColor ?? this.connectorColor,
);
}