pop<T extends Object?> method
- @optionalTypeArgs
- @Deprecated('pop was renamed to maybePop to avoid confusion, if you are looking for the implementation of Navigator.pop user popForced')
- T? result
Clients can either pop their own _pages
stack
or defer the call to a parent controller
see Navigator.maybePop(context) for more details
Implementation
@optionalTypeArgs
@Deprecated(
'pop was renamed to maybePop to avoid confusion, if you are looking for the implementation of Navigator.pop user popForced')
Future<bool> pop<T extends Object?>([T? result]) => maybePop(result);