modal_progress_hud
modal_progress_hud copied to clipboard
dismissible attribute does not behave correctly
hi: I'm using your library,but i found the dismissible attribute does not behave correctly. I see that you use ModalBarrier widget,when set the dismissible as true,it will call Navigator.pop,but i think it should disappear the mask instead of pop
Hey there,
Can you provide an example?
look at "new Modalbarrier(dismissible: dismissible, ...)" of ModalProgressHUD class. when set dismissible as true,it will trigger Navigator.pop instead of disappearing the loading mask
`@override
Widget build(BuildContext context) { ... return new Stack( children: [ child, new Opacity( child: new ModalBarrier(dismissible: dismissible, color: color), opacity: opacity, ), layOutProgressIndicator, ], ); }`