StandardRouterDelegate constructor
StandardRouterDelegate({
- required BuildContext context,
- required List<
StandardPageWithResultFactory< pageFactories,StandardPageWithResult< >Object?, Object?> , Object?, Object?> - StandardAppType appType = StandardAppType.material,
- Widget routableBuilder(
- BuildContext context,
- Widget? child
- void onDidRemovePage(
- Page page
Create a StandardRouterDelegate
Implementation
StandardRouterDelegate({
required this.context,
required List<StandardPageWithResultFactory> pageFactories,
StandardAppType appType = StandardAppType.material,
this.routableBuilder,
this.onDidRemovePage,
}) : _appType = appType,
assert(pageFactories.isNotEmpty) {
_updatePageFactories(pageFactories);
}