copyWith method
TTableTheme
copyWith({
- TListAnimationBuilder? animationBuilder,
- Duration? animationDuration,
- bool? shrinkWrap,
- ScrollPhysics? physics,
- EdgeInsets? padding,
- TListEmptyBuilder? emptyStateBuilder,
- TListErrorBuilder? errorStateBuilder,
- TListLoadingBuilder? loadingBuilder,
- TListHeaderBuilder? headerBuilder,
- bool? headerSticky,
- bool? infiniteScroll,
- double? itemBaseHeight,
- TListSeparatorBuilder? listSeparatorBuilder,
- TListDragProxyDecorator? dragProxyDecorator,
- TGridMode? grid,
- TGridDelegateBuilder? gridDelegate,
- double? cardWidth,
- bool? forceCardStyle,
- TTableRowHeaderTheme? headerTheme,
- TTableMobileCardTheme? mobileCardTheme,
- 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,
);
}