Skip to content

Commit

Permalink
Correcting the package path
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmysonJack committed Feb 6, 2024
1 parent a307a6f commit 9704ee6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/shared/pop_up_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ abstract class _PopupModelBase with Store {
buildSize = MediaQuery.of(context).size.width;
bool mobileSize = buildSize < 500;
var size = MediaQuery.of(context).size;
return PopScope(
canPop: false,
return WillPopScope(
// canPop: false,
onWillPop: (() async => false),
child: Observer(builder: (context) {
return Container(
// color: Colors.cyanAccent,
Expand Down

0 comments on commit 9704ee6

Please sign in to comment.