pushHistory method

Future<void> pushHistory(
  1. GetNavConfig config, {
  2. bool rebuildStack = true,
})

Adds a new history entry and waits for the result

Implementation

Future<void> pushHistory(
  GetNavConfig config, {
  bool rebuildStack = true,
}) async {
  //this changes the currentConfiguration
  await _pushHistory(config);
  if (rebuildStack) {
    refresh();
  }
}