Flutter: How to show splash screen based on theme data saved using shared preferences?

Viewed 112

Currently the splash screen is showed according to the device theme and rest of the app according to user selected theme, but I want to show the splash screen according to the selected theme by the user (which I do save in shared preferences).

1 Answers

It's not possible.

Splash screen is handled by the system, and you app isn't launched yet, so no code to load user preferences could be run.

Related