📜  颤振抽屉 - 任何代码示例

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

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

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