Flutter SharedPreferences Login 🔒 | Flutter SharedPreferences Tutorial | Flutter Keep User Logged In

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 63

  • @sarathkumarps6473
    @sarathkumarps6473 4 ปีที่แล้ว +1

    Man ,if I search for a new stuff,there is a video from you ,Thanks for the contents

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว

      Welcome bro✌🏻

  • @paulohsantos180
    @paulohsantos180 3 ปีที่แล้ว +5

    Pra quem está iniciando com dev mobile como eu, você salvou minha vida hehehe. Parabéns!

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      ❤️❤️

  • @FlutterMapp
    @FlutterMapp 3 ปีที่แล้ว +3

    Letsgooooooo! 👏

  • @Prakaship78
    @Prakaship78 4 ปีที่แล้ว +2

    Simple and effective i totaly understand now how to use

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว +1

      Glad it helped you❤️❤️

  • @saikiran-wq8rg
    @saikiran-wq8rg 4 ปีที่แล้ว +1

    good stuff man your tutorials are simple and good

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว

      Thank youu soo muchh!

  • @acornerofherheart-jr9pl
    @acornerofherheart-jr9pl 11 หลายเดือนก่อน

    useful and explained well... thanks sir

  • @dipeshchandiramani1897
    @dipeshchandiramani1897 3 ปีที่แล้ว +2

    This was VERY helpful!

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      ❤️❤️

  • @lakshmitulasi95
    @lakshmitulasi95 4 ปีที่แล้ว +2

    Thank you so much for saving my time have gone through multiple videos no one has done this type of requirement can you do video on singleton class for sharedpreferences and how to use form data in http api call.. Once again thank you so much ❤

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว +1

      After the food delivery app❤️

  • @lucianrekkless418
    @lucianrekkless418 3 ปีที่แล้ว +3

    Thanks a lot man! As always very clear and constructed tutorial. Can you also create a video about using a new jetpack dataStore in Java for login session (storing user acount details)?

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      ❤️❤️

  • @RSHT-tl9tm
    @RSHT-tl9tm 3 ปีที่แล้ว

    Wowwww Thanks Alot .... it definitely helped ...

  • @atefevan8498
    @atefevan8498 2 ปีที่แล้ว

    Salute You

  • @vishvamiyani3437
    @vishvamiyani3437 ปีที่แล้ว

    thank you so much it is very useful for me

  • @jishnumadhavan308
    @jishnumadhavan308 2 ปีที่แล้ว

    Great video brother

  • @knowledgepoint2155
    @knowledgepoint2155 2 ปีที่แล้ว

    Amazing man👍

  • @arslanrasit
    @arslanrasit ปีที่แล้ว

    4:41 I get "The non-nullable variable 'finalEmail' must be initialized" error. What to do?
    It's kinda urgent, I'm in an AppJam and we have time restriction.

    • @arslanrasit
      @arslanrasit ปีที่แล้ว

      I simply made it "String? finalEmail" but the EXACT CODE of yours doesnt navigate to any page at splash screen after 2 seconds. Why?

    • @anupamshukla8799
      @anupamshukla8799 ปีที่แล้ว

      @@arslanrasit right i'll also face same essu how we resolve this

  • @mefalac
    @mefalac 2 ปีที่แล้ว

    Thank you bro.

  • @alybauomy735
    @alybauomy735 2 ปีที่แล้ว

    type 'Future' is not a subtype of type 'Widget' ?!
    what this message ??

  • @yagnasaigandrikala4999
    @yagnasaigandrikala4999 2 ปีที่แล้ว

    hey @Abhishvek how you are calling finalEmail from splash screen to home screen directly ?

  • @tekamanurag6065
    @tekamanurag6065 ปีที่แล้ว

    Can you do it with more security?

  • @isaqpasha394
    @isaqpasha394 2 ปีที่แล้ว

    Thanks!

  • @mateofernandezsolera8078
    @mateofernandezsolera8078 2 ปีที่แล้ว

    Good work ;)

  • @himesh_89
    @himesh_89 4 ปีที่แล้ว +3

    is the data stored in shared preferences encrypted?

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว +1

      Hey! Officially its encrypted. You may use its other version which is encrypted_shared_preferences😁

    • @DKMKMusik
      @DKMKMusik 3 ปีที่แล้ว

      shared preferences is local stored bro. no problem if doesnt encrypted maybe

  • @jjun.e_
    @jjun.e_ 3 ปีที่แล้ว

    I have 2 user role (user and barista) how do I use shared preferences for login based on the user role?

  • @yogeshdubey2031
    @yogeshdubey2031 2 ปีที่แล้ว

    You should make different function for removing credentials outside the class so that it dosnt rebuilds each time.

  • @swatinaik3614
    @swatinaik3614 2 ปีที่แล้ว

    even after storing the value in finalEmail the value is not displayed it's showing null can you please help me in this case

  • @rsocial453
    @rsocial453 3 ปีที่แล้ว

    Thank you

  • @ownchannal485
    @ownchannal485 ปีที่แล้ว

    How add top back button in all screen in flutter

  • @alokgupta2397
    @alokgupta2397 4 ปีที่แล้ว +1

    could you please make it with google sign in button to get user logged in?

  • @crankboost
    @crankboost 4 ปีที่แล้ว +1

    How to do it when we are logging in through firebase phone otp authentication?

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว

      If the user is authenticated, The you will get a UID. Store the Uid and read it. If otp comes every time user logs in,This wont be a good approach

  • @vidyasagargaikwad1268
    @vidyasagargaikwad1268 3 ปีที่แล้ว +1

    Can we use Shared preference in web app

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว +1

      Yes you can!

    • @vidyasagargaikwad1268
      @vidyasagargaikwad1268 3 ปีที่แล้ว

      @@Abhishvek Thanks sir😊

    • @vidyasagargaikwad1268
      @vidyasagargaikwad1268 3 ปีที่แล้ว +1

      @@Abhishvek I have one issue can you help me sir

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      @@vidyasagargaikwad1268 whats that?

    • @vidyasagargaikwad1268
      @vidyasagargaikwad1268 3 ปีที่แล้ว

      @@Abhishvek i use nodejs api with jwt in backend when i call for get token method then it shows me this error Expected a value of type 'FutureOr', but got one of type '_JsonMap'
      with token so how to fix it please sir

  • @mohamedyashik1049
    @mohamedyashik1049 3 ปีที่แล้ว +1

    How to automatically refresh data in dashboard ?

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      Use a streambuilder

  • @rockerz7572
    @rockerz7572 3 ปีที่แล้ว

    beautiful

    • @Abhishvek
      @Abhishvek  3 ปีที่แล้ว

      Thank you! 😊

  • @hayubinspiration4069
    @hayubinspiration4069 3 ปีที่แล้ว +1

    can i used it with php

  • @MohamedHesham-uw3on
    @MohamedHesham-uw3on 4 ปีที่แล้ว +2

    what is Get.to !!!!!!!!!!!!!!!!! method

    • @Abhishvek
      @Abhishvek  4 ปีที่แล้ว

      Please elaborate

    • @SapinderSingh
      @SapinderSingh 3 ปีที่แล้ว

      it's from get package, to navigate to another screen.

  • @madeeasy...5976
    @madeeasy...5976 10 หลายเดือนก่อน

    where is the source code

  • @duarteleal5964
    @duarteleal5964 ปีที่แล้ว

    Why the hell would you put an english title/subscription for an hindi video 💀💀💀