copyWith method

  1. @override
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,
  14. bool? showLeftBorder,
  15. Alignment? alignment,
  16. EdgeInsets? narrowPadding,
  17. double? narrowItemBottomSpacing,
  18. int? narrowKeyFlex,
  19. int? narrowValueFlex,
  20. double? narrowGap,
  21. EdgeInsets? gridCellPadding,
  22. double? gridCellGap,
  23. double? maxColWidthFraction,
  24. double? minFractionFixed,
  25. double? minFractionStructured,
  26. double? minFractionCompact,
  27. double? minFractionProse,
  28. double? additionalNaturalWidth,
  29. int? maxItemsPerRow,
  30. bool? gridInline,
})
override

Implementation

@override
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,
  bool? showLeftBorder,
  Alignment? alignment,
  EdgeInsets? narrowPadding,
  double? narrowItemBottomSpacing,
  int? narrowKeyFlex,
  int? narrowValueFlex,
  double? narrowGap,
  EdgeInsets? gridCellPadding,
  double? gridCellGap,
  double? maxColWidthFraction,
  double? minFractionFixed,
  double? minFractionStructured,
  double? minFractionCompact,
  double? minFractionProse,
  double? additionalNaturalWidth,
  int? maxItemsPerRow,
  bool? gridInline,
}) {
  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,
    showLeftBorder: showLeftBorder ?? this.showLeftBorder,
    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,
    gridCellGap: gridCellGap ?? this.gridCellGap,
    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,
  );
}