alertdialog 떨림을 누르면 외부 disappera
showDialog(
barrierDismissible: true,
)
떨림을 표시 경고 대화 후의 서버 오류
Provider.of<NewsProvider>(context, listen: false)
.fetchAndSetNewsList()
.catchError((error) => showDialog(context: context, builder: (context) {
return new SimpleDialog(
children: <Widget>[
new Center(child: new Container(child: new Text('foo')))
]);
}))