Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter back button with data

WillPopScope(
      onWillPop: () async {
        Navigator.pop(context, 'Pass Your Data Here');
        return false;
      },
      child: // Your Widget
);
 
PREVIOUS NEXT
Tagged: #flutter #button #data
ADD COMMENT
Topic
Name
5+1 =