CLShellTokens class

CLTheme-shaped accessor over the Shad theme, so the migrated custom widgets (CLAdaptiveShell, …) keep reading theme.X with minimal edits: colors come from ShadColorScheme, spacing/sizes are constants, text styles map to ShadTextTheme. Get it with CLShellTokens.of(context).

Constructors

CLShellTokens.of(BuildContext context)
factory

Properties

accent Color
no setter
accentForeground Color
no setter
bodyLabel TextStyle
no setter
bodyText TextStyle
no setter
borderColor Color
no setter
brightness Brightness
final
buttonHeightCompact double
no setter
buttonHeightDefault double
no setter
cardBorder Color
no setter
cardShadowSoft List<BoxShadow>
no setter
controlFill Color
no setter
danger Color
no setter
durationBase Duration
no setter
durationSlow Duration
no setter
gapIconText double
no setter
gapLg double
no setter
gapMd double
no setter
gapSm double
no setter
gapXs double
no setter
hashCode int
The hash code for this object.
no setterinherited
heading1 TextStyle
no setter
heading2 TextStyle
no setter
heading4 TextStyle
no setter
heading5 TextStyle
no setter
iconSizeCompact double
no setter
iconSizeDefault double
no setter
inputHeight double
no setter
isDark bool
no setter
muted Color
no setter
mutedForeground Color
no setter
opacityDisabled double
no setter
opacityMedium double
no setter
opacityMuted double
no setter
opacitySoft double
no setter
opacitySubtle double
no setter
pagePadX double
no setter
popoverShadow List<BoxShadow>
no setter
primary Color
no setter
primaryBackground Color
no setter
primaryForeground Color
no setter
primaryGlow List<BoxShadow>
Glow colorato brand (bottone AI/primario con gradient): alone primary.
no setter
primaryText Color
no setter
radiusBubble double
no setter
radiusCard double
no setter
radiusChip double
no setter
radiusControl double
no setter
radiusModal double
no setter
radiusPill double
no setter
radiusSurface double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
no setter
secondaryBackground Color
no setter
secondaryText Color
no setter
smallLabel TextStyle
no setter
smallText TextStyle
no setter
tertiaryBackground Color
no setter
title TextStyle
no setter

Methods

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