copyWith method

FLineCalendarItemStyle copyWith({
  1. BoxDecoration? decoration,
  2. BoxDecoration? focusedDecoration,
  3. Color? todayIndicatorColor,
  4. TextStyle? dateTextStyle,
  5. TextStyle? weekdayTextStyle,
})

Returns a FLineCalendarItemStyle with the given properties replaced.

Implementation

FLineCalendarItemStyle copyWith({
  BoxDecoration? decoration,
  BoxDecoration? focusedDecoration,
  Color? todayIndicatorColor,
  TextStyle? dateTextStyle,
  TextStyle? weekdayTextStyle,
}) =>
    FLineCalendarItemStyle(
      decoration: decoration ?? this.decoration,
      focusedDecoration: focusedDecoration ?? this.focusedDecoration,
      todayIndicatorColor: todayIndicatorColor ?? this.todayIndicatorColor,
      dateTextStyle: dateTextStyle ?? this.dateTextStyle,
      weekdayTextStyle: weekdayTextStyle ?? this.weekdayTextStyle,
    );