How to use SplashScreen with null safety?

Viewed 1089

There came an error that splashScreen doesn't support null safety. It got fixed when I downgraded the SDK version but my question is, how can I use SplashScreen with null safety without downgrading. If I can't then what are the alternatives to SplashScreen which does the same task as SplashScreen but support null safety?

1 Answers
Related