onLaunch property

VoidCallback onLaunch
final

A function that the splash screen should run after the animation has completed. This should be where you navigate to the next page, and do any logic in determing if the user has completed the onboarding process or not.

Implementation

final VoidCallback onLaunch;