createPage<T> method

Page<T> createPage<T>(
  1. BuildContext context, [
  2. LocalKey? pageKey
])
inherited

Implementation

Page<T> createPage<T>(BuildContext context, [LocalKey? pageKey]) {
  final child = vyuh.content.buildRoute(context, routeId: id);

  return routeType?.create(child, this, pageKey) ??
      MaterialPage(child: child, name: path, key: pageKey);
}