push method

Future<void> push(
  1. ScreenState state
)

Implementation

Future<void> push(ScreenState state) {
  final ScreenState previous = current;
  _entries.add(state);
  _invokeListeners(HistoryAction.push, previous, state);
  return Future.value(null);
}