On the KivyMD documentation it says:
Button parameters MDRectangleFlatButton are the same as button MDRaisedButton:
MDRectangleFlatButton
MDRaisedButton