copyWith method
ScreenLookAndFeel
copyWith({
- String? background,
- String? backgroundAttachment,
- String? backgroundBlendMode,
- String? backgroundClip,
- String? backgroundColor,
- String? backgroundImage,
- String? backgroundOrigin,
- String? backgroundPosition,
- String? backgroundRepeat,
- String? backgroundSize,
- ScreenLookAndFeelLayer? layer,
- String? gutterTop,
- String? gutterRight,
- String? gutterBottom,
- String? gutterLeft,
Implementation
ScreenLookAndFeel copyWith(
{String? background,
String? backgroundAttachment,
String? backgroundBlendMode,
String? backgroundClip,
String? backgroundColor,
String? backgroundImage,
String? backgroundOrigin,
String? backgroundPosition,
String? backgroundRepeat,
String? backgroundSize,
ScreenLookAndFeelLayer? layer,
String? gutterTop,
String? gutterRight,
String? gutterBottom,
String? gutterLeft}) {
return ScreenLookAndFeel(
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,
layer: layer ?? this.layer,
gutterTop: gutterTop ?? this.gutterTop,
gutterRight: gutterRight ?? this.gutterRight,
gutterBottom: gutterBottom ?? this.gutterBottom,
gutterLeft: gutterLeft ?? this.gutterLeft,
);
}