copyWith method
CalendarScheme
copyWith({
- Dim? cellSize,
- Dim? dateFontSize,
- Dim? weekdayFontSize,
- Dim? weekdayGap,
- Dim? titleFontSize,
- Dim? stepperWidth,
- Dim? stepperHeight,
- Dim? stepperFontSize,
- Dim? compactCellSize,
- Dim? compactDateFontSize,
- Dim? compactWeekdayFontSize,
- Dim? compactWeekdayGap,
- Dim? compactTitleFontSize,
- Dim? compactStepperHeight,
- Dim? compactStepperFontSize,
Implementation
CalendarScheme copyWith({
Dim? cellSize,
Dim? dateFontSize,
Dim? weekdayFontSize,
Dim? weekdayGap,
Dim? titleFontSize,
Dim? stepperWidth,
Dim? stepperHeight,
Dim? stepperFontSize,
Dim? compactCellSize,
Dim? compactDateFontSize,
Dim? compactWeekdayFontSize,
Dim? compactWeekdayGap,
Dim? compactTitleFontSize,
Dim? compactStepperHeight,
Dim? compactStepperFontSize,
}) {
return CalendarScheme(
cellSize: cellSize ?? this.cellSize,
dateFontSize: dateFontSize ?? this.dateFontSize,
weekdayFontSize: weekdayFontSize ?? this.weekdayFontSize,
weekdayGap: weekdayGap ?? this.weekdayGap,
titleFontSize: titleFontSize ?? this.titleFontSize,
stepperWidth: stepperWidth ?? this.stepperWidth,
stepperHeight: stepperHeight ?? this.stepperHeight,
stepperFontSize: stepperFontSize ?? this.stepperFontSize,
compactCellSize: compactCellSize ?? this.compactCellSize,
compactDateFontSize: compactDateFontSize ?? this.compactDateFontSize,
compactWeekdayFontSize:
compactWeekdayFontSize ?? this.compactWeekdayFontSize,
compactWeekdayGap: compactWeekdayGap ?? this.compactWeekdayGap,
compactTitleFontSize: compactTitleFontSize ?? this.compactTitleFontSize,
compactStepperHeight: compactStepperHeight ?? this.compactStepperHeight,
compactStepperFontSize:
compactStepperFontSize ?? this.compactStepperFontSize,
);
}