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"),
);
    });
上一篇 下一篇

猜你喜欢

热点阅读