В Flutter я пишу простой диалог для загрузчика во время Async Task. Когда я прикасаюсь к тому, чтобы диалоговое окно увольнялось, как я могу остановить это поведение? showDialog(
context: context,
builder: (_) => new Dialog(
child: new Container(
alignment: FractionalOffset.center,
height: 80.0,
padding: const EdgeInsets.all(20.0),
child: new Row(
mainAxisSize: MainAxisSize.min,
children: [
new CircularProgressIndicator(),
new Padding(
padding: new EdgeInsets.only(left: 10.0),
child: new Text("Loading"),
),
],
),
),
));
Подробнее здесь: https://stackoverflow.com/questions/506 ... in-flutter