copyWith method
Creates a copy of the TimePickerHandlerDecoration.
Implementation
TimePickerHandlerDecoration copyWith({
BoxShape? shape,
Icon? icon,
Color? color,
BoxShadow? shadow,
double? radius,
Border? border,
double? handlerOutterRadius,
bool? showRoundedCapInSelection,
}) {
return TimePickerHandlerDecoration(
shape: shape ?? this.shape,
icon: icon ?? this.icon,
color: color ?? this.color,
shadow: shadow ?? this.shadow,
radius: radius ?? this.radius,
border: border ?? this.border,
handlerOutterRadius: handlerOutterRadius ?? this.handlerOutterRadius,
useRoundedPickerCap:
showRoundedCapInSelection ?? this.useRoundedPickerCap,
);
}