copyWith method

TTableDecoration copyWith({
  1. double? mobileBreakpoint,
  2. double? cardWidth,
  3. bool? showStaggeredAnimation,
  4. Duration? animationDuration,
  5. bool? forceCardStyle,
  6. TTableStyle? style,
  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,
  TTableStyle? style,
  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,
    style: style ?? this.style,
    showScrollbars: showScrollbars ?? this.showScrollbars,
  );
}