copyWith method

  1. @override
TTableTheme copyWith({
  1. TListAnimationBuilder? animationBuilder,
  2. Duration? animationDuration,
  3. bool? shrinkWrap,
  4. ScrollPhysics? physics,
  5. EdgeInsets? padding,
  6. TListEmptyBuilder? emptyStateBuilder,
  7. TListErrorBuilder? errorStateBuilder,
  8. TListLoadingBuilder? loadingBuilder,
  9. TListHeaderBuilder? headerBuilder,
  10. TListFooterBuilder? footerBuilder,
  11. bool? headerSticky,
  12. bool? footerSticky,
  13. bool? infiniteScroll,
  14. double? itemBaseHeight,
  15. TListFooterBuilder? infiniteScrollFooterBuilder,
  16. TListSeparatorBuilder? listSeparatorBuilder,
  17. TListDragProxyDecorator? dragProxyDecorator,
  18. TGridMode? grid,
  19. TGridDelegateBuilder? gridDelegate,
  20. double? cardWidth,
  21. bool? forceCardStyle,
  22. TTableRowHeaderTheme? headerTheme,
  23. TTableMobileCardTheme? mobileCardTheme,
  24. TTableRowCardTheme? rowCardTheme,
})
override

Implementation

@override
TTableTheme copyWith({
  TListAnimationBuilder? animationBuilder,
  Duration? animationDuration,
  bool? shrinkWrap,
  ScrollPhysics? physics,
  EdgeInsets? padding,
  TListEmptyBuilder? emptyStateBuilder,
  TListErrorBuilder? errorStateBuilder,
  TListLoadingBuilder? loadingBuilder,
  TListHeaderBuilder? headerBuilder,
  TListFooterBuilder? footerBuilder,
  bool? headerSticky,
  bool? footerSticky,
  bool? infiniteScroll,
  double? itemBaseHeight,
  TListFooterBuilder? infiniteScrollFooterBuilder,
  TListSeparatorBuilder? listSeparatorBuilder,
  TListDragProxyDecorator? dragProxyDecorator,
  TGridMode? grid,
  TGridDelegateBuilder? gridDelegate,
  double? cardWidth,
  bool? forceCardStyle,
  TTableRowHeaderTheme? headerTheme,
  TTableMobileCardTheme? mobileCardTheme,
  TTableRowCardTheme? rowCardTheme,
}) {
  return TTableTheme(
    animationBuilder: animationBuilder ?? this.animationBuilder,
    animationDuration: animationDuration ?? this.animationDuration,
    shrinkWrap: shrinkWrap ?? this.shrinkWrap,
    physics: physics ?? this.physics,
    padding: padding ?? this.padding,
    emptyStateBuilder: emptyStateBuilder ?? this.emptyStateBuilder,
    errorStateBuilder: errorStateBuilder ?? this.errorStateBuilder,
    loadingBuilder: loadingBuilder ?? this.loadingBuilder,
    headerBuilder: headerBuilder ?? this.headerBuilder,
    headerSticky: headerSticky ?? this.headerSticky,
    footerBuilder: footerBuilder ?? this.footerBuilder,
    footerSticky: footerSticky ?? this.footerSticky,
    infiniteScroll: infiniteScroll ?? this.infiniteScroll,
    itemBaseHeight: itemBaseHeight ?? this.itemBaseHeight,
    infiniteScrollFooterBuilder: infiniteScrollFooterBuilder ?? this.infiniteScrollFooterBuilder,
    listSeparatorBuilder: listSeparatorBuilder ?? this.listSeparatorBuilder,
    dragProxyDecorator: dragProxyDecorator ?? this.dragProxyDecorator,
    grid: grid ?? this.grid,
    gridDelegate: gridDelegate ?? this.gridDelegate,
    cardWidth: cardWidth ?? this.cardWidth,
    forceCardStyle: forceCardStyle ?? this.forceCardStyle,
    headerTheme: headerTheme ?? this.headerTheme,
    mobileCardTheme: mobileCardTheme ?? this.mobileCardTheme,
    rowCardTheme: rowCardTheme ?? this.rowCardTheme,
  );
}