PageSettingsX extension

Extension on List

on

Methods

to(String routeName, {Object? arguments, Map<String, String> queryParams = const {}, bool isStrictMode = false}) List<PageSettings>
Add the page of routeName to PageSettings
toAndRemoveUntil(String routeName, String untilRouteName) List<PageSettings>
Add the page with the given routeName and remove all pages until the page with untilRouteName name.
toReplacement(String routeName) List<PageSettings>
Add the page with the given routeName and remove the last page.