为了避免警报对话解除颤动

代码示例

1
0

alertdialog扑按外disappera

showDialog(
  barrierDismissible: true,
)
-1
0

扑显示警告对话后服务器的错误

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')))
       ]);
}))
       

其他语言

此页面有其他语言版本

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................