pageWrapper function

Page pageWrapper(
  1. String path,
  2. WidgetBuilder builder, {
  3. LocalKey? key,
  4. String? name,
  5. Object? arguments,
  6. String? restorationId,
})

Returns a Page object.

Implementation

Page<dynamic> pageWrapper(
  String path,
  WidgetBuilder builder, {
  LocalKey? key,
  String? name,
  Object? arguments,
  String? restorationId,
}) =>
    _WebPage(
      key: key ?? ValueKey(path),
      name: name ?? path,
      arguments: arguments,
      restorationId: restorationId,
      builder: builder,
    );