solidTheme static method
Implementation
static TWidgetTheme solidTheme(Color color, [bool isDarkMode = false]) {
final m = color.toMaterial();
return TWidgetTheme(
isDarkMode: isDarkMode,
type: TVariant.solid,
color: m,
container: m.shade(400),
containerVariant: m.shade(400).withAlpha(200),
onContainer: m.shade(50),
onContainerVariant: m.shade(50),
shadow: m.shade(900).withAlpha(35),
);
}