PageSettingsX extension

Extension on List

on

Methods

to(String routeName, {Object? arguments, Map<String, String> queryParams = const {}, bool isStrictMode = false}) List<PageSettings>

Available on List<PageSettings>, provided by the PageSettingsX extension

Add the page of routeName to PageSettings
toAndRemoveUntil(String routeName, String untilRouteName) List<PageSettings>

Available on List<PageSettings>, provided by the PageSettingsX extension

Add the page with the given routeName and remove all pages until the page with untilRouteName name.
toReplacement(String routeName) List<PageSettings>

Available on List<PageSettings>, provided by the PageSettingsX extension

Add the page with the given routeName and remove the last page.