copyWith method
- @useResult
- TextStyle? headerTextStyle,
- FCalendarEntryStyle? current,
- FCalendarEntryStyle? enclosing,
- int? startDayOfWeek,
- double? tileSize,
inherited
Returns a copy of this FCalendarDayPickerStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FCalendarDayPickerStyle copyWith({
TextStyle? headerTextStyle,
FCalendarEntryStyle? current,
FCalendarEntryStyle? enclosing,
int? startDayOfWeek,
double? tileSize,
}) => FCalendarDayPickerStyle(
headerTextStyle: headerTextStyle ?? this.headerTextStyle,
current: current ?? this.current,
enclosing: enclosing ?? this.enclosing,
startDayOfWeek: startDayOfWeek ?? this.startDayOfWeek,
tileSize: tileSize ?? this.tileSize,
);