copyWith method
VooYearViewConfig
copyWith({
- int? columns,
- bool? showEventIndicators,
- ScrollController? scrollController,
- bool? showScrollbar,
- EdgeInsetsGeometry? padding,
- EdgeInsets? scrollPadding,
Create a copy with modified properties
Implementation
VooYearViewConfig copyWith({
int? columns,
bool? showEventIndicators,
ScrollController? scrollController,
bool? showScrollbar,
EdgeInsetsGeometry? padding,
EdgeInsets? scrollPadding,
}) {
return VooYearViewConfig(
columns: columns ?? this.columns,
showEventIndicators: showEventIndicators ?? this.showEventIndicators,
scrollController: scrollController ?? this.scrollController,
showScrollbar: showScrollbar ?? this.showScrollbar,
padding: padding ?? this.padding,
scrollPadding: scrollPadding ?? this.scrollPadding,
);
}