outlineTheme static method
Implementation
static TWidgetTheme outlineTheme(Color color, [bool isDarkMode = false]) {
final m = color.toMaterial();
return TWidgetTheme(
isDarkMode: isDarkMode,
type: TVariant.outline,
color: m,
container: Colors.transparent,
containerVariant: Colors.transparent,
onContainer: m.shade(400),
onContainerVariant: isDarkMode ? m.shade(300) : m.shade(500),
outline: m.shade(300),
outlineVariant: m.shade(400),
shadow: m.shade(400).withAlpha(35),
);
}