copyWith method

CalendarView copyWith({
  1. int? year,
  2. int? month,
})

Implementation

CalendarView copyWith({
  int? year,
  int? month,
}) {
  return CalendarView(
    year ?? this.year,
    month ?? this.month,
  );
}