copy method

  1. @override
ThemeColors copy({
  1. Color? primary,
  2. Color? secondary,
  3. Color? tertiary,
  4. Color? error,
  5. Color? warning,
  6. Color? disable,
  7. Color? light,
  8. Color? lightAsFixed,
  9. Color? dark,
  10. Color? darkAsFixed,
  11. Color? mid,
  12. Color? holo,
  13. Color? soft,
  14. Color? deep,
})

Implementation

@override
ThemeColors copy({
  Color? primary,
  Color? secondary,
  Color? tertiary,
  Color? error,
  Color? warning,
  Color? disable,
  Color? light,
  Color? lightAsFixed,
  Color? dark,
  Color? darkAsFixed,
  Color? mid,
  Color? holo,
  Color? soft,
  Color? deep,
}) {
  return ThemeColors(
    primary: primary ?? this.primary,
    secondary: secondary ?? this.secondary,
    tertiary: tertiary ?? this.tertiary,
    error: error ?? this.error,
    warning: warning ?? this.warning,
    disable: disable ?? this.disable,
    light: light ?? this.light,
    lightAsFixed: lightAsFixed ?? this.lightAsFixed,
    dark: dark ?? this.dark,
    darkAsFixed: darkAsFixed ?? this.darkAsFixed,
    mid: mid ?? this.mid,
    holo: holo ?? this.holo,
    soft: soft ?? this.soft,
    deep: deep ?? this.deep,
  );
}