我的应用程序中有2个选项卡,当我在第二个选项卡上但在第一个选项卡上保持灵活时,我是否可以切换条子appbar以像普通appbar一样工作?
Without the sample code not much help could be provided. At the very least a GitHub link to the repo.
However based on your question you could look into state management. whereby there is conditional rendering of widget. The page will render a normal app bar in one state and the other state render the flexible app bar.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.