push method
Pushes the given page
to the top of the stack.
Implementation
void push(Page page) {
emit([
...state,
page,
]);
}
Pushes the given page
to the top of the stack.
void push(Page page) {
emit([
...state,
page,
]);
}