from kivymd.app import MDApp from kivymd.uix.screen import Screen from kivymd.uix.button import MDFlatButton class SimpleApp(MDApp): def build(self): screen = Screen() btn_flat = MDFlatButton(text='Mehet') screen.add_widget(btn_flat) return screen SimpleApp().run()