buildContent method

  1. @override
Widget buildContent(
  1. BuildContext context
)
override

Builds the primary contents of the route.

Implementation

@override
Widget buildContent(BuildContext context) {
  if (_widget == null) _widget = builder(context);
  if (_widget != null) _RouterStack.instance.add(_widget!);
  return _widget!;
}