retheme

fun Component.retheme(old: Colors, new: Colors, animate: Boolean = false): Component

Perform a retheme operation on this component, changing its palette from the old Colors to the new Colors, and all its children.

Since

1.8.3

See also