copyWith method
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,
})
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,
);
}