copyWith method
TTableDecoration
copyWith(
{ - double? mobileBreakpoint,
- double? cardWidth,
- bool? showStaggeredAnimation,
- Duration? animationDuration,
- bool? forceCardStyle,
- TTableStyling? styling,
- bool? shrinkWrap,
- double? minWidth,
- double? maxWidth,
- bool? showScrollbars,
})
Implementation
TTableDecoration copyWith({
double? mobileBreakpoint,
double? cardWidth,
bool? showStaggeredAnimation,
Duration? animationDuration,
bool? forceCardStyle,
TTableStyling? styling,
bool? shrinkWrap,
double? minWidth,
double? maxWidth,
bool? showScrollbars,
}) {
return TTableDecoration(
mobileBreakpoint: mobileBreakpoint ?? this.mobileBreakpoint,
cardWidth: cardWidth ?? this.cardWidth,
showStaggeredAnimation: showStaggeredAnimation ?? this.showStaggeredAnimation,
animationDuration: animationDuration ?? this.animationDuration,
forceCardStyle: forceCardStyle ?? this.forceCardStyle,
styling: styling ?? this.styling,
shrinkWrap: shrinkWrap ?? this.shrinkWrap,
minWidth: minWidth ?? this.minWidth,
maxWidth: maxWidth ?? this.maxWidth,
showScrollbars: showScrollbars ?? this.showScrollbars,
);
}