DuTaToColors class

Inheritance
Annotations

Constructors

DuTaToColors({required Color paper, required Color paper2, required Color paper3, required Color rule, required Color ruleSoft, required Color ink, required Color ink2, required Color inkMuted, required Color inkFaint, required Color surface, required Color onAccent, required Color ochre, required Color ochreDeep, required Color ochreSoft, required Color ochreTint, required Color forest, required Color forestDeep, required Color forestSoft, required Color forestTint, required Color plum, required Color plumTint, required Color clay, required Color clayTint, required Color sun, required Color sunTint, required Color sky, required Color skyTint, required Color m0, required Color m1, required Color m2, required Color m3, required Color m4, required Color m5, required Color mInProgress, required Color domainPm, required Color domainAlgo, required Color domainCode, required Color domainDesign, required Color domainData})
const

Properties

clay Color
final
clayTint Color
final
domainAlgo Color
final
domainCode Color
final
domainData Color
final
domainDesign Color
final
domainPm Color
final
forest Color
final
forestDeep Color
final
forestSoft Color
final
forestTint Color
final
hashCode int
The hash code for this object.
no setterinherited
ink Color
final
ink2 Color
final
inkFaint Color
final
inkMuted Color
final
m0 Color
final
m1 Color
final
m2 Color
final
m3 Color
final
m4 Color
final
m5 Color
final
mInProgress Color
final
ochre Color
final
ochreDeep Color
final
ochreSoft Color
final
ochreTint Color
final
onAccent Color
final
paper Color
final
paper2 Color
final
paper3 Color
final
plum Color
final
plumTint Color
final
rule Color
final
ruleSoft Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sky Color
final
skyTint Color
final
sun Color
final
sunTint Color
final
surface Color
final
type Object
The extension's type.
no setterinherited

Methods

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
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
domainColor(String slug) Color
Theme-aware domain accent by slug. Unknown slugs fall back to ochre.
lerp(covariant ThemeExtension<DuTaToColors>? other, double t) DuTaToColors
Linearly interpolate with another ThemeExtension object.
override
mastery(int level) Color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

dark → const DuTaToColors
light → const DuTaToColors