copyWith method

PairInfoTableConfig copyWith({
  1. double? rowSpacing,
  2. double? itemSpacing,
  3. BaseTextStyle? keyTextStyle,
  4. BaseTextStyle? valueTextStyle,
  5. BaseTextStyle? linkTextStyle,
})

Implementation

PairInfoTableConfig copyWith({
  double? rowSpacing,
  double? itemSpacing,
  BaseTextStyle? keyTextStyle,
  BaseTextStyle? valueTextStyle,
  BaseTextStyle? linkTextStyle,
}) {
  return PairInfoTableConfig(
    rowSpacing: rowSpacing ?? _rowSpacing,
    itemSpacing: itemSpacing ?? _itemSpacing,
    keyTextStyle: keyTextStyle ?? _keyTextStyle,
    valueTextStyle: valueTextStyle ?? _valueTextStyle,
    linkTextStyle: linkTextStyle ?? _linkTextStyle,
  );
}