diff --git a/lib/components/FormPage.dart b/lib/components/FormPage.dart index 9f41fd1..e5be025 100644 --- a/lib/components/FormPage.dart +++ b/lib/components/FormPage.dart @@ -38,9 +38,9 @@ class _FormPageState extends State { Widget build(BuildContext context) { changed = widget.changed || changed; - return PopScope( + return PopScope( canPop: false, - onPopInvoked: (bool didPop) async { + onPopInvokedWithResult: (bool didPop, Object? result) async { if (didPop) { return; }