pop<T extends Object?> method
void
pop<T extends Object?>({
- T? result,
Pop the current route off the navigator stack
Example: context.pop(result: true)
Implementation
void pop<T extends Object?>({T? result}) => Navigator.of(this).pop<T>(result);