onInit property
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;
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.
final Future<SplashRoute> Function() onInit;