StandardChildPageWithResultFactory<T extends StandardPageWithResult<R, E>, R extends Object?, E extends Object?, P extends Object?> constructor

const StandardChildPageWithResultFactory<T extends StandardPageWithResult<R, E>, R extends Object?, E extends Object?, P extends Object?>({
  1. required T create(
    1. R pageData
    ),
  2. required P createParentPageData(
    1. R pageData
    ),
  3. Map<String, R Function(RegExpMatch match, Uri uri)>? links,
  4. String linkGenerator(
    1. R pageData
    )?,
  5. bool groupRoot = false,
  6. String? group = defaultGroup,
  7. bool keepHistory = true,
  8. bool enableNavigationAnalytics = true,
  9. StandardPageNavigationMode navigationMode = StandardPageNavigationMode.moveToTop,
  10. LocalKey pageKey(
    1. R pageData
    )?,
  11. StandardPageBuilder<R, E>? pageBuilder,
  12. R pageDataWhenNull()?,
  13. String? pageName()?,
  14. String restorationId(
    1. R pageData
    )?,
  15. List<StandardChildPageWithResultFactory<StandardPageWithResult<Object?, Object?>, Object?, Object?, Object?>> childPageFactories = const [],
})

Create a StandardChildPageWithResultFactory

Implementation

const StandardChildPageWithResultFactory({
  required super.create,
  required P Function(R pageData) createParentPageData,
  super.links,
  super.linkGenerator,
  super.groupRoot,
  super.group,
  super.keepHistory,
  super.enableNavigationAnalytics,
  super.navigationMode,
  super.pageKey,
  super.pageBuilder,
  super.pageDataWhenNull,
  super.pageName,
  super.restorationId,
  super.childPageFactories,
}) : _createParentPageData = createParentPageData;