shell method
ShellRoute<P, S, D>
shell({
- PageLoader<
P, S, D> ? load, - required RouteShellBuilder<
P, S, D> build, - RoutePendingBuilder<
P, S> ? pending, - RouteErrorBuilder<
P, S> ? error, - RouteNotFoundBuilder<
P, S> ? notFound,
Creates a Flutter shell route.
Implementation
ShellRoute<P, S, D> shell({
PageLoader<P, S, D>? load,
required RouteShellBuilder<P, S, D> build,
RoutePendingBuilder<P, S>? pending,
RouteErrorBuilder<P, S>? error,
RouteNotFoundBuilder<P, S>? notFound,
}) => ShellRoute<P, S, D>._(
definition: this,
load: load,
build: build,
pending: pending,
error: error,
notFound: notFound,
indexPage: null,
);