How to Create a Splash Screen in Flutter App? | GeeksforGeeks

Поділитися
Вставка
  • Опубліковано 18 лип 2021
  • In this video, we're going to discuss how to create a Splash Screen for your Flutter Application. Splash Screen is basically the first screen that we see when we run our application and it is also known as Launch Screen. Here, we're going to build the Splash Screen in our Flutter App in both ways i.e. via coding from scratch and via using Animated Splash Screen in Flutter. So, let's get started now.
    Check Out the Related Article:
    Creating Splash Screen in Flutter App [www.geeksforgeeks.org/splash-...]
    A Complete Flutter Tutorial [www.geeksforgeeks.org/flutter...]
    Apply For Video Internship Program - script.geeksforgeeks.org/on-b...
    Our courses: practice.geeksforgeeks.org/co...
    This video is contributed by Akshit Madan.
    Please Like, Comment, and Share the Video with your friends.
    #flutter #splashscreen #howto #beginner #android
    Install our Android App:
    play.google.com/store/apps/de...
    If you wish, translate into the local language and help us reach millions of other geeks:
    ua-cam.com/users/timedtext_cs_p...
    Follow us on our Social Media Handles -
    Twitter- / geeksforgeeks
    LinkedIn- / geeksforgeeks
    Facebook- / geeksforgeeks.org
    Instagram- geeks_for_g...
    Reddit- / geeksforgeeks
    Telegram- t.me/s/geeksforgeeks_official
    Also, Subscribe if you haven't already! :)

КОМЕНТАРІ • 77

  • @GeeksforGeeksVideos
    @GeeksforGeeksVideos  3 роки тому

    Apply For Video Internship Program - script.geeksforgeeks.org/on-boarding/youtube

  • @youssifgamal8545
    @youssifgamal8545 2 роки тому +104

    I don't think that this is an efficient way to create a splash screen,
    this is what happens in the app you created :
    1- The app opens with a white screen (default splash) and takes x seconds
    2- the waiting screen you created runs and takes 1.5 seconds
    total time = (x + 1.5 ) seconds
    The splash screen should be displayed while the app opens so that the user won't stare at an empty screen, without increasing the time which the app takes to open, what you have done here is the opposite you increased the opening time by 1.5 seconds

    • @federicosironi135
      @federicosironi135 2 роки тому +1

      thats rigth

    • @nvfpv
      @nvfpv 2 роки тому

      Can you link some code for this splash screen of yours?

    • @highfbi8188
      @highfbi8188 Рік тому

      thats right

    • @nelsonazolukwamprojects
      @nelsonazolukwamprojects Рік тому

      You are right, this violated the whole point of behind splash screens.

    • @shadowking773
      @shadowking773 Рік тому

      can you tell me how to do this please i am in urgent need for project

  • @renplatypus6040
    @renplatypus6040 2 роки тому +2

    can you tell me (or anyone else) what extension for showing the error on side code like "Expecting to find ')' on 6:27" please?

  • @vladarskopin3314
    @vladarskopin3314 2 роки тому

    Thank you so much! Finally I can make a splash screen in my college project

  • @KishorTiwari
    @KishorTiwari 2 роки тому +7

    I think this is not the right way though. Splash screen is shown to make up the time for app boot up. However, here app already boots up & splash is shown, hence it is just the another normal screen.

  • @amansatvilkar2093
    @amansatvilkar2093 2 роки тому

    Will you make a Tutorial of an App with Real time DB which captures pic of users who enters wrong pattern or passcode(lock screen) and save it in that App, and also stores location of the device in that App.

  • @GustavoKureckPiccoli
    @GustavoKureckPiccoli Рік тому

    Thank you so much, works perfectly here! Greetings from Brazil bro!!!

  • @vishnukumark6757
    @vishnukumark6757 2 роки тому +1

    Thank u for the video and tutorial about splash screen.
    Bro, i have ur visual studio code the error ans error msg in side with red markings and flow of brackets and parathesis with yellow colour line.
    How it is coming like that. Expalin how to get that type in my system.
    Thank u in advance.

  • @oluotanmioluwadamilare5638
    @oluotanmioluwadamilare5638 2 роки тому +1

    What extensions did you use in this tutorial, love em

  • @swapnilcodes
    @swapnilcodes 2 роки тому

    You saved my today.... Thank you Geeks for Geeks❤️❤️❤️

  • @xavierfrancis4370
    @xavierfrancis4370 2 роки тому

    Bro I'm not getting apps tab under explorer tab which shows lib option please help

  • @belloomotolani4242
    @belloomotolani4242 Рік тому

    Please What theme are you using

  • @ntsakomotsepe2058
    @ntsakomotsepe2058 Рік тому

    how do you get your errors to show up as you code?

  • @prasertpromvong3031
    @prasertpromvong3031 2 роки тому

    Thank you so much, finally i can do it.

  • @danieltp2625
    @danieltp2625 2 роки тому

    How do I add my logo instead of the icon?

  • @karolinahagegard
    @karolinahagegard 2 роки тому +2

    This is not a Splash screen!! :( A Splash screen comes up WHILE the app is loading...
    This is simply a screen that comes up first after the app has already loaded. Thus delaying the start of the actual app even further...

  • @tyrion0838
    @tyrion0838 2 роки тому

    how can i get this code?

  • @prasertpromvong3031
    @prasertpromvong3031 Рік тому

    Thank you, finally i can do it.

  • @mbithi_ke
    @mbithi_ke 2 роки тому +12

    I bumped into this, but for Android flutter has a predefined startup theme that usually is in the Android folder. Unless you edit it, the app will always start in white, and i think a splash screen should appear immediately after clicking the app lancher icon,

    • @acornerofherheart-jr9pl
      @acornerofherheart-jr9pl 4 місяці тому

      same problem i m facing my app is not overrriding default splash screen ...

  • @heisenberg5873
    @heisenberg5873 3 роки тому +37

    This doesnt solve that white screen before the launch of app .For that you need to change the xml file

    • @Apoorvpandey
      @Apoorvpandey 2 роки тому +2

      Yes this is a scam

    • @dramaticsports
      @dramaticsports 2 роки тому +1

      hello bro can you tell me how to remove white screen before the splash screen please help me

    • @NischalPandey
      @NischalPandey 2 роки тому

      That is lunch screen not splash 😁😁

    • @kadidibwa968
      @kadidibwa968 Рік тому

      Kindly explain further

    • @Alex-bc3tt
      @Alex-bc3tt 3 місяці тому

      Your comment is so descriptive and helpful 🤣🤣🤣🤣 I mean which xml file and what do you change?😳🙄

  • @Magedzzzz
    @Magedzzzz 2 роки тому

    when i wrap countainer doesn't show coulmn

  • @harshdasila6680
    @harshdasila6680 3 роки тому

    This is must needed

  • @grattindepates315
    @grattindepates315 2 роки тому

    Thanks !

  • @aslucky0143
    @aslucky0143 2 роки тому

    how to get gradient in splash screen in flutter

  • @anoopmoji8768
    @anoopmoji8768 3 роки тому +2

    How to remove white screen that is loading before splash screen? 🙏🏼🙏🏼🙏🏼

    • @trujillogomezmanuel1882
      @trujillogomezmanuel1882 2 роки тому +1

      This method is good, but in the end a splash package is only calling a Widget; for a "native" splash screen we need to edit de xml files in drawable folder in the android/app proyect folder...

    • @relentlessfrags4914
      @relentlessfrags4914 2 роки тому

      @@trujillogomezmanuel1882 please help , when i use your mentioned method , vs code asks to install some xml debugger , i dont know which one to use or how to use it

  • @dwirenandaputra2682
    @dwirenandaputra2682 2 роки тому +1

    how about showing a picture not icon?

  • @heavenlife5619
    @heavenlife5619 2 роки тому +1

    *App reopen krne per saare changes hat jaate hai , bikar h flutter*

  • @ED-pl6hk
    @ED-pl6hk 11 місяців тому

    Wasted my time implementing his method just to find out that it is just adding a normal page after the default splash screen instead of replacing that one. If you can do one where the splash screen pops up right from the start.

  • @Apoorvpandey
    @Apoorvpandey 2 роки тому +3

    C'mon dude I know how to do this!
    I came here to see how to customize the REAL splash screen and not create a new one with 1.5 Seconds delay.

    • @mazharimam9216
      @mazharimam9216 2 роки тому

      could you please suggest me a video where i can learn this with the code plzz plzz

  • @adeelzahid9622
    @adeelzahid9622 2 роки тому

    bad way to initilize splash screen, documentation says something else .

  • @fahedsayyad6757
    @fahedsayyad6757 Рік тому

    how to remove white splash screen is my problem help me

    • @kareenasingh3264
      @kareenasingh3264 3 місяці тому

      Did you find a way for it ...if yes then plz share how ?

  • @anupkolhe6564
    @anupkolhe6564 10 місяців тому

    Idit If you want use stateful then use with stateful

  • @moaath11
    @moaath11 3 роки тому +3

    Anyone else is having a black screen for a few seconds before Splash screen starts?

    • @AshuSingh-mw2wt
      @AshuSingh-mw2wt 2 роки тому

      Flutter already provide inbuilt splash screen. That's black screen you seen. You customize it from android section.

    • @rogithr6045
      @rogithr6045 2 роки тому

      @@AshuSingh-mw2wt Can you mention any video that shows how to do it?

  • @codeaamy
    @codeaamy 2 роки тому

    Misguided title. This is not Splash Screen works. IT will still show default splash screen

  • @skevanislam
    @skevanislam Рік тому

    Navigator.pushReplacement(
    context,
    MaterialPageRoute(
    builder: (context) => MyHomePage(title: 'GFG')));
    context shows error

    • @skevanislam
      @skevanislam Рік тому

      Navigator function showing error

    • @OOnhar
      @OOnhar Рік тому

      having the same issue, do let me know if you found a solution for it

    • @CRUNKxMONSTA
      @CRUNKxMONSTA Рік тому

      You need to change the class `Splash` to extend StatefulWidget

  • @kamalCode
    @kamalCode 3 роки тому +1

    Flutter provider

  • @zedeleyici.1337
    @zedeleyici.1337 2 роки тому

    siteden çıkmamama rağmen kanalı yeni keşfediyor olmam....

  • @edilsonroque6691
    @edilsonroque6691 5 місяців тому

    VALEEEEEUUUUUUUU

  • @RensGaming
    @RensGaming 11 місяців тому

    😂😂😂 your solution be like :- How to hack nasa by edit html page😂😂😂

  • @Hardik.Kalasua
    @Hardik.Kalasua 10 місяців тому

    Ye kya baat hui

  • @olo6718
    @olo6718 Рік тому

    Is this what you call splash screen? Bruh IT’S NOT SPLASH SCREEN

  • @65sahilshah75
    @65sahilshah75 5 місяців тому

    Very wrong way

  • @jahiddev
    @jahiddev Рік тому

    Amateur tutorial. 😅

  • @mkw456
    @mkw456 8 місяців тому

    scamme

  • @anshumanpanigrahi7817
    @anshumanpanigrahi7817 3 роки тому +2

    Sir, no flutter please, only android.

    • @SkjoyBd
      @SkjoyBd 2 роки тому

      What the Issue with flutter?

  • @user-dv2ip8wj4x
    @user-dv2ip8wj4x 9 місяців тому

    please don't do another video, what is this ?.