Another exception was thrown: Sc
2019-04-24 本文已影响0人
Songzh
解决方案
GlobalKey<ScaffoldState> key = GlobalKey();
Scaffold(
key: key,
),
key.currentState.showBottomSheet((context) {
return Container(
child:Text("test"),
);
});