onInit property

Future<SplashRoute> Function() onInit
final

Async callback that returns the target SplashRoute.

This is where you put your login checks, token validation, first-time user detection, and deep link handling.

Implementation

final Future<SplashRoute> Function() onInit;