copyWith method

  1. @override
TTableMobileCardTheme copyWith({
  1. TKeyValueMode? mode,
  2. EdgeInsets? margin,
  3. EdgeInsets? padding,
  4. double? elevation,
  5. BorderRadius? borderRadius,
  6. WidgetStateProperty<Color>? backgroundColor,
  7. WidgetStateProperty<Border>? border,
  8. TextStyle? keyStyle,
  9. TextStyle? labelStyle,
  10. TextStyle? valueStyle,
  11. double? minGridColWidth,
  12. bool? forceKeyValue,
  13. double? keyValueBreakPoint,
  14. bool? showLeftBorder,
  15. Color? borderColor,
  16. Alignment? alignment,
  17. EdgeInsets? narrowPadding,
  18. double? narrowItemBottomSpacing,
  19. int? narrowKeyFlex,
  20. int? narrowValueFlex,
  21. double? narrowGap,
  22. EdgeInsets? gridCellPadding,
  23. double? maxColWidthFraction,
  24. double? minFractionFixed,
  25. double? minFractionStructured,
  26. double? minFractionCompact,
  27. double? minFractionProse,
  28. double? additionalNaturalWidth,
  29. int? maxItemsPerRow,
  30. bool? gridInline,
  31. bool? columnar,
  32. int? columns,
  33. double? inlineKeyWidth,
  34. double? inlineKeyMaxWidth,
  35. Alignment? inlineKeyAlignment,
  36. bool? removeEmpty,
  37. bool? selectable,
  38. double? hSpacing,
  39. double? vSpacing,
  40. double? gap,
})
override

Implementation

@override
TTableMobileCardTheme copyWith({
  TKeyValueMode? mode,
  EdgeInsets? margin,
  EdgeInsets? padding,
  double? elevation,
  BorderRadius? borderRadius,
  WidgetStateProperty<Color>? backgroundColor,
  WidgetStateProperty<Border>? border,
  TextStyle? keyStyle,
  TextStyle? labelStyle,
  TextStyle? valueStyle,
  double? minGridColWidth,
  bool? forceKeyValue,
  double? keyValueBreakPoint,
  bool? showLeftBorder,
  Color? borderColor,
  Alignment? alignment,
  EdgeInsets? narrowPadding,
  double? narrowItemBottomSpacing,
  int? narrowKeyFlex,
  int? narrowValueFlex,
  double? narrowGap,
  EdgeInsets? gridCellPadding,
  double? maxColWidthFraction,
  double? minFractionFixed,
  double? minFractionStructured,
  double? minFractionCompact,
  double? minFractionProse,
  double? additionalNaturalWidth,
  int? maxItemsPerRow,
  bool? gridInline,
  bool? columnar,
  int? columns,
  double? inlineKeyWidth,
  double? inlineKeyMaxWidth,
  Alignment? inlineKeyAlignment,
  bool? removeEmpty,
  bool? selectable,
  double? hSpacing,
  double? vSpacing,
  double? gap,
}) {
  return TTableMobileCardTheme(
    mode: mode ?? this.mode,
    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,
    minGridColWidth: minGridColWidth ?? this.minGridColWidth,
    forceKeyValue: forceKeyValue ?? this.forceKeyValue,
    keyValueBreakPoint: keyValueBreakPoint ?? this.keyValueBreakPoint,
    showLeftBorder: showLeftBorder ?? this.showLeftBorder,
    borderColor: borderColor ?? this.borderColor,
    alignment: alignment ?? this.alignment,
    narrowPadding: narrowPadding ?? this.narrowPadding,
    narrowItemBottomSpacing: narrowItemBottomSpacing ?? this.narrowItemBottomSpacing,
    narrowKeyFlex: narrowKeyFlex ?? this.narrowKeyFlex,
    narrowValueFlex: narrowValueFlex ?? this.narrowValueFlex,
    narrowGap: narrowGap ?? this.narrowGap,
    gridCellPadding: gridCellPadding ?? this.gridCellPadding,
    maxColWidthFraction: maxColWidthFraction ?? this.maxColWidthFraction,
    minFractionFixed: minFractionFixed ?? this.minFractionFixed,
    minFractionStructured: minFractionStructured ?? this.minFractionStructured,
    minFractionCompact: minFractionCompact ?? this.minFractionCompact,
    minFractionProse: minFractionProse ?? this.minFractionProse,
    additionalNaturalWidth: additionalNaturalWidth ?? this.additionalNaturalWidth,
    maxItemsPerRow: maxItemsPerRow ?? this.maxItemsPerRow,
    gridInline: gridInline ?? this.gridInline,
    columnar: columnar ?? this.columnar,
    columns: columns ?? this.columns,
    inlineKeyWidth: inlineKeyWidth ?? this.inlineKeyWidth,
    inlineKeyMaxWidth: inlineKeyMaxWidth ?? this.inlineKeyMaxWidth,
    inlineKeyAlignment: inlineKeyAlignment ?? this.inlineKeyAlignment,
    removeEmpty: removeEmpty ?? this.removeEmpty,
    selectable: selectable ?? this.selectable,
    hSpacing: hSpacing ?? rawHSpacing,
    vSpacing: vSpacing ?? rawVSpacing,
    gap: gap ?? rawGap,
  );
}