unauthorizedBuilder property
final
A widget builder for unauthorized access cases.
Called when a route requires authorization but the user is not authorized. Provides the current BuildContext and CurrentRoute.
Implementation
final Widget Function(BuildContext, CurrentRoute)? unauthorizedBuilder;