Skip to content

Commit 6cfbfda

Browse files
committed
fixed deprecated api
1 parent ee464d5 commit 6cfbfda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screens/manager.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class _ScreenManagerState extends State<ScreenManager> {
307307
Widget build(BuildContext context) {
308308
return PopScope(
309309
canPop: _selectedIndex == widget.initialIndex,
310-
onPopInvoked: (didPop) {
310+
onPopInvokedWithResult: (didPop, _) {
311311
if (!didPop) {
312312
setState(() {
313313
_selectedIndex = widget.initialIndex;

0 commit comments

Comments
 (0)