copyWith method

TimePickerSectorDecoration copyWith({
  1. Color? color,
  2. double? size,
  3. double? width,
  4. double? padding,
})

Creates a copy of the TimePickerSectorDecoration.

Implementation

TimePickerSectorDecoration copyWith({
  Color? color,
  double? size,
  double? width,
  double? padding,
}) {
  return TimePickerSectorDecoration(
    color: color ?? this.color,
    size: size ?? this.size,
    width: width ?? this.width,
    radiusPadding: padding ?? this.radiusPadding,
  );
}