defaults method

  1. @override
ThemeColors defaults({
  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 defaults({
  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: this.primary ?? primary,
    secondary: this.secondary ?? secondary,
    tertiary: this.tertiary ?? tertiary,
    error: this.error ?? error,
    warning: this.warning ?? warning,
    disable: this.disable ?? disable,
    light: this.light ?? light,
    lightAsFixed: this.lightAsFixed ?? lightAsFixed,
    dark: this.dark ?? dark,
    darkAsFixed: this.darkAsFixed ?? darkAsFixed,
    mid: this.mid ?? mid,
    holo: this.holo ?? holo,
    soft: this.soft ?? soft,
    deep: this.deep ?? deep,
  );
}