Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在学习本地反应。我想使用自定义按钮打开抽屉。试了很多代码都没有用。
您可以使用navigation.openDrawer()and如此处navigation.closeDrawer()所述
navigation.openDrawer()
navigation.closeDrawer()