79548651

Date: 2025-04-01 12:41:37
Score: 1
Natty:
Report link

On the root of the application add a stream listener.

From the redirect function of go router add a future callback for the forbidden page based on business logic.

In the future callback add an event to the stream sink. Add a delay before adding the event to the sink.

The listener can be used to display the Forbidden Dialog/ Widget.

Not the best approch. but will work. Redirecting to forbidden still is the best way

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Akash g krishnan