androidflutterandroid-splashscreen

Changing flutter Navigation and status bar color in Splash Screen


when i use NativeSplashScreen package in android , status bar and Navigation bar backgrounds ARE NOT transparent. so it makes the ui look a bit ugly. what im trying to fidn out is that if there is a way to make them transparent? i need this only for Android, so i expect I'll be using some platform native solution. here are 2 pictures of how my splash screen looks like now , and how it should look like.

current splash screen (status and navigation bar colors are not transparent) :

current splash screen

desired splash screen : desired splash screen

as you can see , in my case splash screen navigation bar and status bar background colors should be transparent. any solution? thx

changing flutter says and navigation bar color dosent seem to work , as splash screen is showed before flutter app runs


Solution

  • There's a specific parameter for this. You may search fullscreen: true in the whole documentation here. You must need to write that parameter in the pubspec.yaml file where you just wrote other code for flutter_native_splash. Try & test it out. Feel free to provide acknowledgement for same.

    enter image description here