copyWith method

TTableRowCardTheme copyWith({
  1. EdgeInsets? margin,
  2. EdgeInsets? padding,
  3. double? elevation,
  4. BorderRadius? borderRadius,
  5. WidgetStateProperty<Color>? backgroundColor,
  6. WidgetStateProperty<Border>? border,
  7. TextStyle? contentTextStyle,
})

Implementation

TTableRowCardTheme copyWith({
  EdgeInsets? margin,
  EdgeInsets? padding,
  double? elevation,
  BorderRadius? borderRadius,
  WidgetStateProperty<Color>? backgroundColor,
  WidgetStateProperty<Border>? border,
  TextStyle? contentTextStyle,
}) {
  return TTableRowCardTheme(
    margin: margin ?? this.margin,
    padding: padding ?? this.padding,
    elevation: elevation ?? this.elevation,
    borderRadius: borderRadius ?? this.borderRadius,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    border: border ?? this.border,
    contentTextStyle: contentTextStyle ?? this.contentTextStyle,
  );
}