defaultRootPageFactory property
StandardPageWithResultFactory<StandardPageWithResult<Object?, Object?> , Object?, Object?>
get
defaultRootPageFactory
Get the default root page factory.
Implementation
StandardPageWithResultFactory get defaultRootPageFactory {
final tUsableDefaultPages = _factoryTypeMap.values.where(
(e) => e._usableDefaultRootPage,
);
if (tUsableDefaultPages.isEmpty) {
return _factoryTypeMap.values.first;
}
return (tUsableDefaultPages.firstWhereOrNull(
(e) => e.group == StandardPageWithResultFactory.defaultGroup,
)) ??
tUsableDefaultPages.first;
}