Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Found Page #638

Open
shubhammemane1 opened this issue Sep 20, 2023 · 1 comment
Open

Not Found Page #638

shubhammemane1 opened this issue Sep 20, 2023 · 1 comment

Comments

@shubhammemane1
Copy link

i have added list of pages in BeamerDelegate but what if i not added page or user is changed trough directly URL i should redirect to not found page

2i07kgScar

how to add not found page in this

@felixdollack
Copy link

@shubhammemane1 you can add a "not found page" to your BeamerDelegate like this

final routerDelegate = BeamerDelegate(
  notFoundPage: const BeamPage(
    key: ValueKey("NotFound"),
    title: "NotFound",
    child: Placeholder(),
  ),
  locationBuilder: ...
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants