copyWith method

DbLensThemeData copyWith({
  1. Color? bg,
  2. Color? surface,
  3. Color? border,
  4. Color? textPrimary,
  5. Color? textSecondary,
  6. Color? textMuted,
  7. Color? accent,
  8. Color? accentSoft,
  9. Color? syntaxNull,
  10. Color? syntaxString,
  11. Color? syntaxNumber,
  12. Color? syntaxBool,
  13. Color? syntaxDefault,
})

Implementation

DbLensThemeData copyWith({
  Color? bg,
  Color? surface,
  Color? border,
  Color? textPrimary,
  Color? textSecondary,
  Color? textMuted,
  Color? accent,
  Color? accentSoft,
  Color? syntaxNull,
  Color? syntaxString,
  Color? syntaxNumber,
  Color? syntaxBool,
  Color? syntaxDefault,
}) {
  return DbLensThemeData(
    bg: bg ?? this.bg,
    surface: surface ?? this.surface,
    border: border ?? this.border,
    textPrimary: textPrimary ?? this.textPrimary,
    textSecondary: textSecondary ?? this.textSecondary,
    textMuted: textMuted ?? this.textMuted,
    accent: accent ?? this.accent,
    accentSoft: accentSoft ?? this.accentSoft,
    syntaxNull: syntaxNull ?? this.syntaxNull,
    syntaxString: syntaxString ?? this.syntaxString,
    syntaxNumber: syntaxNumber ?? this.syntaxNumber,
    syntaxBool: syntaxBool ?? this.syntaxBool,
    syntaxDefault: syntaxDefault ?? this.syntaxDefault,
  );
}