Тёмный

Flutter Sharedpreferences Alternative | GetX Storage | How to keep user logged In? 

Proto Coders Point
Подписаться 37 тыс.
Просмотров 11 тыс.
50% 1

Was this Tutorial helpful? Spread Motivation on me by supporting paypal.me/Raja... #flutter #fluttergetx #getx
Hi Bro, if this video was helpful to you, then please do Subscribe, PROTO CODERS POINT.
🙏 🙏 🙏 🙏
____________________________________________________________________
Hi Guys, Welcome to Proto Coders Point, In this Flutter tutorial article, We will learn how to use GetX Storage package (an alternative of shared preferences) in Flutter Application Development to keep users logged In.
In this example we gonna make use of Get Storage library GetX, to keep logged in users data.
Source code
protocoderspoi...
Comment below for any queries 😀
Follow and support me:
🐦 Twitter: / rajatpalankar
💬 Facebook: / protocoderspoint
💸 Instagram: / protocoderspoint
Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)
For mobile application development keep learning freely from proto coders point
Visit: protocoderspoi...
keys
getx,
get storage,
flutter get storage,
flutter sharedpreferences,
shared preferences alternative,
flutter getx tutorial,
flutter getx storage,
getx storage,
flutter alternative of sharedpreferences
How to keep user logged In,
keep user signed in,
keep user logged in .
.
Support Proto Coders Point: www.buymeacoff...

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@RossittoS
@RossittoS 3 года назад
Perfect! You solved my problem! I was having trouble to do the same thing using Shared Preferences, but this package worked great! Thank you.
@ProtoCodersPoint
@ProtoCodersPoint 3 года назад
Happy to help 😊
@rawadmezher3843
@rawadmezher3843 3 года назад
Thanks , very easy to understand
@romzanali9930
@romzanali9930 Год назад
it worked
@akashmore6862
@akashmore6862 3 года назад
Best Video.
@ProtoCodersPoint
@ProtoCodersPoint 3 года назад
Welcome, I'm happy to help.
@MetaTesla
@MetaTesla 2 года назад
Nice Video Bro! Btw I wonder if GetX Storage is safe enough for using Login Token. Let me know your thoughts!
@ProtoCodersPoint
@ProtoCodersPoint 2 года назад
Yes it’s safe to use Getx storage for login data save But don’t use it for huge data storage
@MetaTesla
@MetaTesla 2 года назад
@@ProtoCodersPoint gotcha! Thank you:)
@elgrego3849
@elgrego3849 3 года назад
Pls, you can with google account?
@JK92007
@JK92007 3 года назад
bro how we can impliment this in firebase authentication login page...?
@ProtoCodersPoint
@ProtoCodersPoint 3 года назад
Hi, This is just to demonstrate how to use Get X Storage as an alternative of shared preferences to store user data you can use this library to keep user data in your app memory itself and user data to display them on screen
@ProtoCodersPoint
@ProtoCodersPoint 3 года назад
check our video on firebase authentication
@JK92007
@JK92007 3 года назад
@@ProtoCodersPoint👍👍👍😊😍🏵🌺..👍👍 bro....Now using GetX... we want tutorial on theam changing(dark or light) and making our app internationalised (english, hindi, French etc.) Using GetX...Plz use our previous login UI ... Don't worry about topic...We will give you topic bro...So plz make tutorial covering these two topic...😍😍👍👍🌸🏵🌺
@theifeanyi
@theifeanyi Год назад
i am trying to assign data from GetStorage to a variable. the data is in the storage but I haven't been able to get it to show up in the variable I am assigning it to. Any reason for this?
@ProtoCodersPoint
@ProtoCodersPoint Год назад
Are you sure, Data is available in GetStorage, And for your kind infomation GetStorage is not permanent database, In case if your force stop or clear data, Data will be lost
@theifeanyi
@theifeanyi Год назад
@@ProtoCodersPoint yeah am sure there is data. Cos I can print what is in the box using .read method. I just can’t save it to variable so I can access other content within it. It’s just for saving user info while they are logged in. Intend for it to be erased once the user logs out
@theifeanyi
@theifeanyi Год назад
So since it was an array of data with maps within maps. I had to encodeJson it on write and decodeJson on read for it to work. For everyone experiencing same issue.
@JK92007
@JK92007 3 года назад
Bro ...you use statefull homePage widget in main.dart ...cant we use stateless widget insted...? because GetX is all about using stateless widget .....so that we can reduce memory load in our app and that's why app performs better...so I confused because initState() method cant be used without statefull widget...so please suggest me...
@webcommyanmar3180
@webcommyanmar3180 2 года назад
If u use getx , u don't need stateful widget anymore for state management
Далее
How to Store Data In Flutter Secure Storage
7:14
Просмотров 1,8 тыс.
REST API with GetX | Flutter tutorial | Shopping app
26:43
If __name__ == "__main__" for Python Developers
8:47
Просмотров 402 тыс.
When, why, and how to multithread in Flutter
15:10
Просмотров 64 тыс.
DropdownButton widget with Getx | Flutter | Dart
23:33
Просмотров 1,8 тыс.