Screen#

#

Screen class equivalent. Simplifies working with some widget properties. For example:

Screen#

Screen:
    canvas:
        Color:
            rgba: app.theme_cls.primaryColor
        RoundedRectangle:
            pos: self.pos
            size: self.size
            radius: [25, 0, 0, 0]

MDScreen#

MDScreen:
    radius: [25, 0, 0, 0]
    md_bg_color: self.theme_cls.primaryColor

API - kivymd.uix.screen#

class kivymd.uix.screen.MDScreen(*args, **kwargs)#

Screen is an element intended to be used with a MDScreenManager.

For more information see in the DeclarativeBehavior and ThemableBehavior and BackgroundColorBehavior and Screen and MDAdaptiveWidget classes documentation.

hero_to#

Must be a MDHeroTo class.

See the documentation of the MDHeroTo widget for more detailed information.

Deprecated since version 1.0.0: Use attr:heroes_to attribute instead.

hero_to is an ObjectProperty and defaults to None.

heroes_to#

Must be a list of MDHeroTo class.

New in version 1.0.0.

heroes_to is an LiatProperty and defaults to [].

on_hero_to(screen, widget: kivymd.uix.hero.MDHeroTo) None#

Fired when the value of the hero_to attribute changes.