softOutlineTheme static method
Implementation
static TWidgetTheme softOutlineTheme(Color color, [bool isDarkMode = false]) {
final m = color.toMaterial();
return TWidgetTheme(
isDarkMode: isDarkMode,
type: TVariant.softOutline,
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),
outline: m.shade(300),
outlineVariant: isDarkMode ? m.shade(400) : m.shade(200),
shadow: m.shade(400).withAlpha(35),
);
}