copyWith method
MonthWidgetStyle
copyWith({
- int? startOfWeek,
- Decoration? weeksDecoration,
- EdgeInsetsGeometry? weeksPadding,
- bool? removeIndividualWeekDecorations,
- EdgeInsetsGeometry? datePadding,
- bool? showDatesFromOtherMonths,
- bool? showDatesFromOtherMonthsAsDisabled,
Implementation
MonthWidgetStyle copyWith({
int? startOfWeek,
Decoration? weeksDecoration,
EdgeInsetsGeometry? weeksPadding,
bool? removeIndividualWeekDecorations,
EdgeInsetsGeometry? datePadding,
bool? showDatesFromOtherMonths,
bool? showDatesFromOtherMonthsAsDisabled,
}) {
return MonthWidgetStyle.raw(
startOfWeek: startOfWeek ?? this.startOfWeek,
weeksDecoration: weeksDecoration ?? this.weeksDecoration,
weeksPadding: weeksPadding ?? this.weeksPadding,
removeIndividualWeekDecorations: removeIndividualWeekDecorations ??
this.removeIndividualWeekDecorations,
datePadding: datePadding ?? this.datePadding,
showDatesFromOtherMonths:
showDatesFromOtherMonths ?? this.showDatesFromOtherMonths,
showDatesFromOtherMonthsAsDisabled: showDatesFromOtherMonthsAsDisabled ??
this.showDatesFromOtherMonthsAsDisabled,
);
}