Login & Logout With Shared Preferences - Flutter Package

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • Login And Logout with Shared Preferences Full Tutorial
    HTTP : This package contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.
    Wraps platform-specific persistent storage for simple data (NSUserDefaults on iOS and macOS, SharedPreferences on Android, etc.). Data may be persisted to disk asynchronously, and there is no guarantee that writes will be persisted to disk after returning, so this plugin must not be used for storing critical data.
    ------------------------------------------------------------------------------------------------------
    Shared Preferences Tutorial
    • Shared Preferences - F...
    ------------------------------------------------------------------------------------------------------
    HTTP Tutorial
    • REST Api : Login With ...
    ------------------------------------------------------------------------------------------------------
    Package Links
    - pub.dev/packag...
    - pub.dev/packag...
    -----------------------------------------------------------------------------------------------------
    Demo API Link : reqres.in/
    -----------------------------------------------------------------------------------------------------
    For More Support : Comment down below
    For More Update : Subscribe my channel

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

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

    I really want to show my love by donating you something and everyone should so that People like you can share more knowledge with the world and make this world more beautiful. 💚

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

      Thank you so much 🤗. for more updates subscribe to my channel 😌

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

    Congratulations on a fine job. You're doing so much for the community. I understand you don't like/want to share the code so people learn instead of copy/paste. However, having access to the code would help a lot to inspect the code and understand what it does without being rushed by the video that doesn't have a voice that explains the why's of each step.
    Providing the code would be the icing on the cake.
    Congratulations again!

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

    its great.. too much helpful.. I was trying to do this from 3 months but this is my final solution thanks alot❤❤

  • @arif7392
    @arif7392 6 หลายเดือนก่อน +1

    You saved my life!

  • @mista_md7321
    @mista_md7321 2 ปีที่แล้ว +1

    This man is too good. You just earn ur self a subscriber. Link me up to any of ur video that teach how to display a user information in his profile after logged in

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

      Sure will work on it soon.

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

    becoz of your video i got great help bro....very nice video. thank you

  • @codewithtamoor108
    @codewithtamoor108 2 ปีที่แล้ว +1

    Bro really informative content....osam bro

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

    Demasiado buenos sus aportes, gracias por compartir su conocimiento, saludos desde Costa Rica.

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

    finally found a working flutter api rest login thank you

  • @user-ri1zs8cp3u
    @user-ri1zs8cp3u 2 ปีที่แล้ว

    It's great! very helpful more than just flutter lecture

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

      Thank you 🤗

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

    Ooh Great work man...uw solve my today's problem.....and one more thing i do code the way uw do..gr8 man...

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

      Happy to hear that 🙂
      Don't forget to like and subscribe ☺️

    • @gndlzn
      @gndlzn 2 ปีที่แล้ว +1

      @@DevMensIT already subscribed..

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

      Brother
      .

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

      @@DevMensIT brother...

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

      @@gndlzn yes?

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

    Great video! Helped me a lot! Thank you!

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

      Don't forget to subscribe 🤗

  • @onielbrea913
    @onielbrea913 2 ปีที่แล้ว +1

    Excelente me sirvió y aprendí mucho :")

    • @DevMensIT
      @DevMensIT  2 ปีที่แล้ว +1

      gracias. suscríbete para ver más videos

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

    Well !
    Thank you very much !

  • @fabiosoarespires2534
    @fabiosoarespires2534 2 ปีที่แล้ว +1

    Many tanks!!! 1000000 likes.

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

      Thank you ☺️

  • @amandwivedi7413
    @amandwivedi7413 2 ปีที่แล้ว +1

    Thank you so much

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

    can you create a playlist about login and logout using postman , json and token with backend?
    plllllleeeezzzz

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

      Sorry but I didn't get you.

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

      @@DevMensIT He is saying that can you please make a video about with login and logout with backend server and when user login token created and expire when he logout

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

      I don't have api like that but will make video on it.

  • @bugracakirr
    @bugracakirr 2 ปีที่แล้ว +1

    Sooo good keep going dude.

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

      Thank you. We need support like you guys ❤️

  • @teamigen495
    @teamigen495 2 ปีที่แล้ว +1

    Hey This Video was really helpful. But i need one more thing to done in my project i need to display the user name, email, and user avatar in my drawer so it will be good if you can help me out on that

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

      If you get response from api then store your information inside shared preferences and retrive from that.

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

      i can help you out with this..let me know how can I connect with you..

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

      @@Roytuhin whatsapp or telegram will be helpfull

  • @screamercjo
    @screamercjo 2 ปีที่แล้ว +1

    Thank you :)

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

      Don't forget to subscribe for more upcoming videos.

  • @csgo5502
    @csgo5502 2 ปีที่แล้ว +1

    Genius!

  • @iremsunivers2790
    @iremsunivers2790 2 ปีที่แล้ว +1

    Hi, Thanks for the video! I think I wrote the same codes as you but I am having a problem in some part. It only checks whether username is true or not. If it’s true, it doesn’t check the password and reaches the token. How can something like this happens and how can I fix this?

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

      Send both username and password to the server.
      On server response you navigate to your main page.

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

      @@DevMensIT Isn't that the way you write in the video? In login function, doesn't it takes both and send it to server ??

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

      @@iremsunivers2790 for both validation you have to send to the server both value. In the video we just show how you can send value to the server.

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

    Thanks

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

    Excuse me Sir, i was wondering on how does the php coding works for this login, because i didnt see any instruction on what to fill in the php, could you give me some guidance ? or maybe you already have a seperate video for the php code. Thank you

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

      What's your issue with PHP code ?
      Php is the backend connected to your application using the API.

  • @MuhammadAhmed-ph9tz
    @MuhammadAhmed-ph9tz 3 ปีที่แล้ว +1

    thanks bro

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

      For more updates please subscribe to our channel.

    • @MuhammadAhmed-ph9tz
      @MuhammadAhmed-ph9tz 3 ปีที่แล้ว

      @@DevMensIT already subscribed and can you please create a video login with redux flutter redux ?

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

      @@MuhammadAhmed-ph9tz We make video to teach everything with easier way. We try to find out way to login with redux.

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

    Hello sir. Can you help me with the php?

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

    MissingPluginException error at 27:02? How to fix it?

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

      Can you share error ?

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

      MissingPluginException... it is similar to video at 27:02

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

      @@hovietphat3175 there are lots of missingpluginException in my case i just stop and fire clean command .
      share your console error log in details.

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

    How to api call with Header Api Key Teacher ?

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

      Can you share your json ?

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

      Goto About in channel there is link of telegram you can contact there too.

  • @im_rashz9573
    @im_rashz9573 2 ปีที่แล้ว +1

    code please

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

      Sorry. we don't keep the code...
      Our intention is to teach you.

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

    Sir can you provide me the code

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

      Sorry. We don't keep code.
      Our intention is to teach people.

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

      That fine sir

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

    thankYou!!! :)