pop method
void
pop([
- R? data
Emits PagePopEvent for PageStack to remove and dispose
the current page. data
is passed to the new topmost PageStateMixin and
can be used as the modal dialog result.
Implementation
void pop([R? data]) {
_eventsController.sink.add(
PagePopEvent<R>(
data: data,
cause: PopCause.page,
),
);
}