New in version 1.0.0.

ScreenManager class equivalent. If you want to use Hero animations you need to use MDScreenManager not ScreenManager class.

API - kivymd.uix.screenmanager#

class kivymd.uix.screenmanager.MDScreenManager(*args, **kwargs)#

Screen manager. This is the main class that will control your MDScreen stack and memory. For more information, see in the ScreenManager class documentation.


The name of the current tag for the MDHeroFrom and MDHeroTo objects that will be animated when animating the transition between screens.

See the Hero module documentation for more information about creating and using Hero animations.

current_hero is an StringProperty and defaults to None.

check_transition(self, *args)#

Sets the default type transition.


Get an MDHeroTo object with the current_hero tag.

add_widget(self, widget, *args, **kwargs)#

Changed in version 2.1.0.

Renamed argument screen to widget.