左侧
drawer: new Drawer(
child: new ListView(
children: <Widget>[
],
),
),
右侧
endDrawer: new Drawer(
child: new ListView(
children: <Widget>[
],
),
),
点击事件打开
onTap: (){
Scaffold.of(context).openEndDrawer();//打开EndDrawer
//Scaffold.of(context).openDrawer();//打开draw
},