getCurrentPage static method

Widget getCurrentPage(
  1. BuildContext context
)

Implementation

static Widget getCurrentPage(BuildContext context) {
  final AppRouterDelegate delegate = _getAppRouterDelegate(context);
  return delegate.pages.last.pageConfiguration.child;
}