softTextTheme static method
Implementation
static TWidgetTheme softTextTheme(Color color, [bool isDarkMode = false]) {
final m = color.toMaterial();
return TWidgetTheme(
isDarkMode: isDarkMode,
type: TVariant.softText,
color: m,
container: Colors.transparent,
containerVariant: isDarkMode ? m.shade(800).withAlpha(200) : m.shade(50),
onContainer: m.shade(400),
onContainerVariant: isDarkMode ? m.shade(100) : m.shade(400),
);
}