defaultTitleGenerator property
getter/setter pair
Default function for combining the app name and route name into a title.
Implementation
static String Function(String, String?) defaultTitleGenerator =
(appName, routeName) =>
(routeName?.isEmpty ?? true) ? appName : "$appName | $routeName";