copyWith method
- 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,
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,
);