copyWith method
Implementation
CalendarView copyWith({
ValueGetter<int>? year,
ValueGetter<int>? month,
}) {
return CalendarView(
year == null ? this.year : year(),
month == null ? this.month : month(),
);
}
CalendarView copyWith({
ValueGetter<int>? year,
ValueGetter<int>? month,
}) {
return CalendarView(
year == null ? this.year : year(),
month == null ? this.month : month(),
);
}