Fluttter通过按钮来打开抽屉Drawer或者endDrawer
//打开抽屉:(需要点击的按钮外边必须加Builder,不然打不开) Builder(builder: (context) { return Container( margin: customLtrb(l: 70.0), child: InkWell( child: Text("筛选"), onTap: () { Scaffold.of(context).openEndDrawer(); //打开右边抽屉
//Scaffold.of(context).openDrawer();//打开左边抽屉
// Navigator.of(context).pop(); }, ), ); })