copyWith method

TTableDecoration copyWith({
  1. double? mobileBreakpoint,
  2. double? cardWidth,
  3. bool? showStaggeredAnimation,
  4. Duration? animationDuration,
  5. bool? forceCardStyle,
  6. TTableStyling? styling,
  7. bool? shrinkWrap,
  8. double? minWidth,
  9. double? maxWidth,
  10. 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,
  );
}