R3X
R3X

Reputation: 15

How to use SplashScreen with null safety?

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?

Upvotes: 1

Views: 2654

Answers (1)

Yanni TheDeveloper
Yanni TheDeveloper

Reputation: 406

flutter_native_splash is flutters favorite splash screen package, it supports null safety as well. You can use that https://pub.dev/packages/flutter_native_splash

Upvotes: 2

Related Questions