TUIColors class

TUIColors is a class that holds all the colors used in the Tarka UI.

Mixed-in types

Constructors

TUIColors(Color primary, Color onPrimary, Color primaryAlt, Color onPrimaryAlt, Color primaryHover, Color primaryAltHover, Color secondary, Color onSecondary, Color secondaryAlt, Color onSecondaryAlt, Color secondaryHover, Color secondaryAltHover, Color tertiary, Color onTertiary, Color tertiaryAlt, Color onTertiaryAlt, Color tertiaryHover, Color tertiaryAltHover, Color success, Color onSuccess, Color success10, Color success20, Color error, Color onError, Color error10, Color errorHover, Color warning, Color onWarning, Color warning10, Color warningHover, Color background, Color onBackground, Color outline, Color disabledContent, Color disabledBackground, Color disabledBackgroundHover, Color link, Color inputText, Color inputBackground, Color inputTextDim, Color surface, Color surface50, Color onSurface, Color surfaceVariant, Color surfaceHover, Color surfaceVariantHover, Color constantLight, Color constantDark)

Properties

background Color
final
constantDark Color
final
constantLight Color
final
disabledBackground Color
final
disabledBackgroundHover Color
final
disabledContent Color
final
error Color
final
error10 Color
final
errorHover Color
final
hashCode int
The hash code for this object.
no setterinherited
inputBackground Color
final
inputText Color
final
inputTextDim Color
final
final
onBackground Color
final
onError Color
final
onPrimary Color
final
onPrimaryAlt Color
final
onSecondary Color
final
onSecondaryAlt Color
final
onSuccess Color
final
onSurface Color
final
onTertiary Color
final
onTertiaryAlt Color
final
onWarning Color
final
outline Color
final
primary Color
final
primaryAlt Color
final
primaryAltHover Color
final
primaryHover Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
secondaryAlt Color
final
secondaryAltHover Color
final
secondaryHover Color
final
success Color
final
success10 Color
final
success20 Color
final
surface Color
final
surface50 Color
final
surfaceHover Color
final
surfaceVariant Color
final
surfaceVariantHover Color
final
tertiary Color
final
tertiaryAlt Color
final
tertiaryAltHover Color
final
tertiaryHover Color
final
warning Color
final
warning10 Color
final
warningHover Color
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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