copyWith method

DatePickerState copyWith({
  1. List<int>? availableDays,
  2. DateTime? selectedDate,
})

Implementation

DatePickerState copyWith({
  List<int>? availableDays,
  DateTime? selectedDate,
}) {
  return DatePickerState(
    availableDays: availableDays ?? this.availableDays,
    selectedDate: selectedDate ?? this.selectedDate,
  );
}