copyWith method

ScreenLookAndFeel 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. ScreenLookAndFeelLayer? layer,
  12. String? gutterTop,
  13. String? gutterRight,
  14. String? gutterBottom,
  15. 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,
  );
}