copyWith method

PairRichInfoGridConfig copyWith({
  1. double? rowSpacing,
  2. double? itemSpacing,
  3. double? itemHeight,
  4. BaseTextStyle? keyTextStyle,
  5. BaseTextStyle? valueTextStyle,
  6. BaseTextStyle? linkTextStyle,
  7. BaseTextStyle? titleTextsStyle,
})

Implementation

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