copyWith method

ContainerLookAndFeel copyWith({
  1. String? background,
  2. String? backgroundAttachment,
  3. String? backgroundBlendMode,
  4. String? backgroundClip,
  5. String? backgroundColor,
  6. String? backgroundImage,
  7. String? backgroundOrigin,
  8. String? backgroundPosition,
  9. String? backgroundRepeat,
  10. String? backgroundSize,
  11. String? padding,
  12. String? borderRadius,
})

Implementation

ContainerLookAndFeel copyWith(
    {String? background,
    String? backgroundAttachment,
    String? backgroundBlendMode,
    String? backgroundClip,
    String? backgroundColor,
    String? backgroundImage,
    String? backgroundOrigin,
    String? backgroundPosition,
    String? backgroundRepeat,
    String? backgroundSize,
    String? padding,
    String? borderRadius}) {
  return ContainerLookAndFeel(
    background: background ?? this.background,
    backgroundAttachment: backgroundAttachment ?? this.backgroundAttachment,
    backgroundBlendMode: backgroundBlendMode ?? this.backgroundBlendMode,
    backgroundClip: backgroundClip ?? this.backgroundClip,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    backgroundImage: backgroundImage ?? this.backgroundImage,
    backgroundOrigin: backgroundOrigin ?? this.backgroundOrigin,
    backgroundPosition: backgroundPosition ?? this.backgroundPosition,
    backgroundRepeat: backgroundRepeat ?? this.backgroundRepeat,
    backgroundSize: backgroundSize ?? this.backgroundSize,
    padding: padding ?? this.padding,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}