Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

close current page flutter

if (Navigator.canPop(context)) {
  Navigator.pop(context);
} else {
  SystemNavigator.pop();
}
 
PREVIOUS NEXT
Tagged: #close #current #page #flutter
ADD COMMENT
Topic
Name
4+5 =