Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add text at bottom in splash screen using Flutter_native_splash

Tags:

flutter

dart

I'm new to FLutter. how to add text at bottom in splash screen using Flutter_native_splash ? is there a way?

this this my code:

flutter_native_splash:
  background_image: "assets/splashscreen_background.png"
  image: assets/images/logo-text.png
like image 452
Rofiatul Adawiyah Avatar asked Dec 18 '25 16:12

Rofiatul Adawiyah


1 Answers

the owner said: link

There is not a way to add dynamic text. If you want static text, you can add it to the splash image.

another workaroud is, make your custom splash screen with statefull/stateless widget. In common case, if you only use custom widget as a splash screen, there will be a white screen before the flutter initiated. Therefore better use native splash to avoid that.

after the flutter has initiated, remove the native splash and display your custom splash widget.

like image 56
pmatatias Avatar answered Dec 21 '25 07:12

pmatatias