copyWith method

  1. @useResult
FCalendarDayPickerStyle copyWith({
  1. TextStyle? headerTextStyle,
  2. FCalendarEntryStyle? current,
  3. FCalendarEntryStyle? enclosing,
  4. int? startDayOfWeek,
  5. 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,
);