copyWith method

EnhanceNumberCardConfig copyWith({
  1. double? runningSpace,
  2. double? itemRunningSpace,
  3. double? dividerWidth,
  4. BaseTextStyle? titleTextStyle,
  5. BaseTextStyle? descTextStyle,
})

Implementation

EnhanceNumberCardConfig copyWith({
  double? runningSpace,
  double? itemRunningSpace,
  double? dividerWidth,
  BaseTextStyle? titleTextStyle,
  BaseTextStyle? descTextStyle,
}) {
  return EnhanceNumberCardConfig(
    runningSpace: runningSpace ?? _runningSpace,
    itemRunningSpace: itemRunningSpace ?? _itemRunningSpace,
    dividerWidth: dividerWidth ?? _dividerWidth,
    titleTextStyle: titleTextStyle ?? _titleTextStyle,
    descTextStyle: descTextStyle ?? _descTextStyle,
  );
}