copyWith method

TTableMobileCardTheme copyWith({
  1. EdgeInsets? margin,
  2. EdgeInsets? padding,
  3. double? elevation,
  4. BorderRadius? borderRadius,
  5. WidgetStateProperty<Color>? backgroundColor,
  6. WidgetStateProperty<Border>? border,
  7. TextStyle? keyStyle,
  8. TextStyle? labelStyle,
  9. TextStyle? valueStyle,
  10. double? gridSpacing,
  11. double? minGridColWidth,
  12. bool? forceKeyValue,
  13. double? keyValueBreakPoint,
})

Implementation

TTableMobileCardTheme copyWith({
  EdgeInsets? margin,
  EdgeInsets? padding,
  double? elevation,
  BorderRadius? borderRadius,
  WidgetStateProperty<Color>? backgroundColor,
  WidgetStateProperty<Border>? border,
  TextStyle? keyStyle,
  TextStyle? labelStyle,
  TextStyle? valueStyle,
  double? gridSpacing,
  double? minGridColWidth,
  bool? forceKeyValue,
  double? keyValueBreakPoint,
}) {
  return TTableMobileCardTheme(
    margin: margin ?? this.margin,
    padding: padding ?? this.padding,
    elevation: elevation ?? this.elevation,
    borderRadius: borderRadius ?? this.borderRadius,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    border: border ?? this.border,
    keyStyle: keyStyle ?? this.keyStyle,
    labelStyle: labelStyle ?? this.labelStyle,
    valueStyle: valueStyle ?? this.valueStyle,
    gridSpacing: gridSpacing ?? this.gridSpacing,
    minGridColWidth: minGridColWidth ?? this.minGridColWidth,
    forceKeyValue: forceKeyValue ?? this.forceKeyValue,
    keyValueBreakPoint: keyValueBreakPoint ?? this.keyValueBreakPoint,
  );
}