rflutter_alert icon indicating copy to clipboard operation
rflutter_alert copied to clipboard

How to prevent Android System Back button to dismiss alert ?

Open SuYungCheng opened this issue 2 years ago • 1 comments

I want to keep the alert on the screen.

But when I touch android system back button ,

The alert will be dismiss and I had tried to use WillPopScope to wrap the Scaffold body.

It's seems useless.

Please help me . Thanks

SuYungCheng avatar Jul 08 '22 09:07 SuYungCheng

@SuYungCheng I think there is a onWillPopActive parameter you can set to true for that.

bynalab avatar Aug 11 '22 18:08 bynalab

thanks!

SuYungCheng avatar Sep 01 '22 02:09 SuYungCheng