copyWith method

ComSpacing copyWith({
  1. double? extraSmall,
  2. double? small,
  3. double? medium,
  4. double? large,
  5. double? extraLarge,
  6. EdgeInsets? cardPadding,
})

拷贝方法

Implementation

ComSpacing copyWith({
  double? extraSmall,
  double? small,
  double? medium,
  double? large,
  double? extraLarge,
  EdgeInsets? cardPadding,
}) {
  return ComSpacing(
    extraSmall: extraSmall ?? this.extraSmall,
    small: small ?? this.small,
    medium: medium ?? this.medium,
    large: large ?? this.large,
    extraLarge: extraLarge ?? this.extraLarge,
    cardPadding: cardPadding ?? this.cardPadding,
  );
}