79377431

Date: 2025-01-22 11:00:32
Score: 1
Natty:
Report link

My problem was with PopScope. It was fixed when I added the "if (!didpop)" control.

PopScope(
  canPop: false,
  onPopInvokedWithResult: (didPop, result) {
    if (!didPop) goBack();
  },
  child: Scaffold(...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kargalar