change Theme

fun changeTheme(onChange: () -> Unit? = null)

Method used to execute the theme change

Parameters

onChange

The action to execute when the theme changed