ForbiddenComponent constructor

const ForbiddenComponent({
  1. Key? key,
  2. required String fallbackRoute,
})

Creates a ForbiddenComponent widget.

Parameters:

  • fallbackRoute: The route to navigate to if the navigation stack cannot be popped (required).

Implementation

const ForbiddenComponent({super.key, required this.fallbackRoute});