copyWith method

  1. @override
DuTaToColors copyWith({
  1. Color? paper,
  2. Color? paper2,
  3. Color? paper3,
  4. Color? rule,
  5. Color? ruleSoft,
  6. Color? ink,
  7. Color? ink2,
  8. Color? inkMuted,
  9. Color? inkFaint,
  10. Color? surface,
  11. Color? onAccent,
  12. Color? ochre,
  13. Color? ochreDeep,
  14. Color? ochreSoft,
  15. Color? ochreTint,
  16. Color? forest,
  17. Color? forestDeep,
  18. Color? forestSoft,
  19. Color? forestTint,
  20. Color? plum,
  21. Color? plumTint,
  22. Color? clay,
  23. Color? clayTint,
  24. Color? sun,
  25. Color? sunTint,
  26. Color? sky,
  27. Color? skyTint,
  28. Color? m0,
  29. Color? m1,
  30. Color? m2,
  31. Color? m3,
  32. Color? m4,
  33. Color? m5,
  34. Color? mInProgress,
  35. Color? domainPm,
  36. Color? domainAlgo,
  37. Color? domainCode,
  38. Color? domainDesign,
  39. Color? domainData,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
DuTaToColors copyWith({
  Color? paper,
  Color? paper2,
  Color? paper3,
  Color? rule,
  Color? ruleSoft,
  Color? ink,
  Color? ink2,
  Color? inkMuted,
  Color? inkFaint,
  Color? surface,
  Color? onAccent,
  Color? ochre,
  Color? ochreDeep,
  Color? ochreSoft,
  Color? ochreTint,
  Color? forest,
  Color? forestDeep,
  Color? forestSoft,
  Color? forestTint,
  Color? plum,
  Color? plumTint,
  Color? clay,
  Color? clayTint,
  Color? sun,
  Color? sunTint,
  Color? sky,
  Color? skyTint,
  Color? m0,
  Color? m1,
  Color? m2,
  Color? m3,
  Color? m4,
  Color? m5,
  Color? mInProgress,
  Color? domainPm,
  Color? domainAlgo,
  Color? domainCode,
  Color? domainDesign,
  Color? domainData,
}) => DuTaToColors(
  paper: paper ?? this.paper,
  paper2: paper2 ?? this.paper2,
  paper3: paper3 ?? this.paper3,
  rule: rule ?? this.rule,
  ruleSoft: ruleSoft ?? this.ruleSoft,
  ink: ink ?? this.ink,
  ink2: ink2 ?? this.ink2,
  inkMuted: inkMuted ?? this.inkMuted,
  inkFaint: inkFaint ?? this.inkFaint,
  surface: surface ?? this.surface,
  onAccent: onAccent ?? this.onAccent,
  ochre: ochre ?? this.ochre,
  ochreDeep: ochreDeep ?? this.ochreDeep,
  ochreSoft: ochreSoft ?? this.ochreSoft,
  ochreTint: ochreTint ?? this.ochreTint,
  forest: forest ?? this.forest,
  forestDeep: forestDeep ?? this.forestDeep,
  forestSoft: forestSoft ?? this.forestSoft,
  forestTint: forestTint ?? this.forestTint,
  plum: plum ?? this.plum,
  plumTint: plumTint ?? this.plumTint,
  clay: clay ?? this.clay,
  clayTint: clayTint ?? this.clayTint,
  sun: sun ?? this.sun,
  sunTint: sunTint ?? this.sunTint,
  sky: sky ?? this.sky,
  skyTint: skyTint ?? this.skyTint,
  m0: m0 ?? this.m0,
  m1: m1 ?? this.m1,
  m2: m2 ?? this.m2,
  m3: m3 ?? this.m3,
  m4: m4 ?? this.m4,
  m5: m5 ?? this.m5,
  mInProgress: mInProgress ?? this.mInProgress,
  domainPm: domainPm ?? this.domainPm,
  domainAlgo: domainAlgo ?? this.domainAlgo,
  domainCode: domainCode ?? this.domainCode,
  domainDesign: domainDesign ?? this.domainDesign,
  domainData: domainData ?? this.domainData,
);