copyWith method
- @useResult
- EdgeInsets? itemPadding,
- double? itemContentEdgeSpacing,
- double? itemContentSpacing,
- FLineCalendarItemStyle? selectedItemStyle,
- FLineCalendarItemStyle? selectedHoveredItemStyle,
- FLineCalendarItemStyle? unselectedItemStyle,
- FLineCalendarItemStyle? unselectedHoveredItemStyle,
Returns a copy of this FLineCalendarStyle with the given properties replaced.
Implementation
@useResult
FLineCalendarStyle copyWith({
EdgeInsets? itemPadding,
double? itemContentEdgeSpacing,
double? itemContentSpacing,
FLineCalendarItemStyle? selectedItemStyle,
FLineCalendarItemStyle? selectedHoveredItemStyle,
FLineCalendarItemStyle? unselectedItemStyle,
FLineCalendarItemStyle? unselectedHoveredItemStyle,
}) =>
FLineCalendarStyle(
itemPadding: itemPadding ?? this.itemPadding,
itemContentEdgeSpacing: itemContentEdgeSpacing ?? this.itemContentEdgeSpacing,
itemContentSpacing: itemContentSpacing ?? this.itemContentSpacing,
selectedItemStyle: selectedItemStyle ?? this.selectedItemStyle,
selectedHoveredItemStyle: selectedHoveredItemStyle ?? this.selectedHoveredItemStyle,
unselectedItemStyle: unselectedItemStyle ?? this.unselectedItemStyle,
unselectedHoveredItemStyle: unselectedHoveredItemStyle ?? this.unselectedHoveredItemStyle,
);