📌  相关文章
📜  颤动屏幕隐藏抽屉不会显示在所有页面上 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:54.032000             🧑  作者: Mango

代码示例1
class MyDrawer extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Drawer(...);
  }
}
---------------------------------------------------------
And then when using it in each page:

Scaffold(
  drawer: MyDrawer(...),
  ...
)