shell method

ShellRoute<P, S, D> shell({
  1. PageLoader<P, S, D>? load,
  2. required RouteShellBuilder<P, S, D> build,
  3. RoutePendingBuilder<P, S>? pending,
  4. RouteErrorBuilder<P, S>? error,
  5. 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,
);