init abstract method
Initialize the route when it becomes active.
This is called when the route is first navigated to. Use this to set up any route-specific state or resources. Return null to prevent the route from being shown.
Implementation
Future<RouteBase?> init(BuildContext context);