copyWith method

TKeyValueTheme copyWith({
  1. TextStyle? keyStyle,
  2. TextStyle? labelStyle,
  3. TextStyle? valueStyle,
  4. double? gridHorizontalSpacing,
  5. double? gridVerticalSpacing,
  6. double? minGridColWidth,
  7. bool? forceKeyValue,
  8. double? keyValueBreakPoint,
  9. Color? borderColor,
  10. bool? showLeftBorder,
  11. Alignment? alignment,
  12. EdgeInsets? narrowPadding,
  13. double? narrowItemBottomSpacing,
  14. int? narrowKeyFlex,
  15. int? narrowValueFlex,
  16. double? narrowGap,
  17. EdgeInsets? gridCellPadding,
  18. double? gridCellGap,
  19. double? maxColWidthFraction,
  20. double? minFractionFixed,
  21. double? minFractionStructured,
  22. double? minFractionCompact,
  23. double? minFractionProse,
  24. double? additionalNaturalWidth,
  25. int? maxItemsPerRow,
  26. bool? gridInline,
  27. bool? columnar,
  28. int? columns,
  29. double? inlineKeyWidth,
  30. double? inlineKeyMaxWidth,
  31. double? inlineKeyGap,
  32. Alignment? inlineKeyAlignment,
  33. bool? removeEmpty,
  34. bool? selectable,
})

Implementation

TKeyValueTheme copyWith({
  TextStyle? keyStyle,
  TextStyle? labelStyle,
  TextStyle? valueStyle,
  double? gridHorizontalSpacing,
  double? gridVerticalSpacing,
  double? minGridColWidth,
  bool? forceKeyValue,
  double? keyValueBreakPoint,
  Color? borderColor,
  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,
  bool? columnar,
  int? columns,
  double? inlineKeyWidth,
  double? inlineKeyMaxWidth,
  double? inlineKeyGap,
  Alignment? inlineKeyAlignment,
  bool? removeEmpty,
  bool? selectable,
}) {
  return TKeyValueTheme(
    keyStyle: keyStyle ?? this.keyStyle,
    labelStyle: labelStyle ?? this.labelStyle,
    valueStyle: valueStyle ?? this.valueStyle,
    gridHorizontalSpacing: gridHorizontalSpacing ?? this.gridHorizontalSpacing,
    gridVerticalSpacing: gridVerticalSpacing ?? this.gridVerticalSpacing,
    minGridColWidth: minGridColWidth ?? this.minGridColWidth,
    forceKeyValue: forceKeyValue ?? this.forceKeyValue,
    keyValueBreakPoint: keyValueBreakPoint ?? this.keyValueBreakPoint,
    borderColor: borderColor ?? this.borderColor,
    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,
    columnar: columnar ?? this.columnar,
    columns: columns ?? this.columns,
    inlineKeyWidth: inlineKeyWidth ?? this.inlineKeyWidth,
    inlineKeyMaxWidth: inlineKeyMaxWidth ?? this.inlineKeyMaxWidth,
    inlineKeyGap: inlineKeyGap ?? this.inlineKeyGap,
    inlineKeyAlignment: inlineKeyAlignment ?? this.inlineKeyAlignment,
    removeEmpty: removeEmpty ?? this.removeEmpty,
    selectable: selectable ?? this.selectable,
  );
}