Тёмный
No video :(

State and Navigation Management with GetX 

Tadas Petra
Подписаться 32 тыс.
Просмотров 17 тыс.
50% 1

State and Navigation Management with GetX
The GetX package, although it's been through some controversy, looks to be pretty power, and simplifies parts of development greatly. This package not only has state management, but also Navigation management. With this package you will no longer need to have a 'context' to do anything navigation related!
GetX package: pub.dev/packag...
Example With GetBuilder: github.com/tad...
Link to the Code: github.com/tad...
Connect With Me
✦ My Website: tadaspetra.com/#/
✦ Live Coding: / tadaspetra
✦ Twitter: / tadaspetra
✦ Chat on Discord: / discord
✦ Instagram: / tadaspetra
I also do lots of Investing
✦ FREE stock: join.robinhood...
My Top 5 Books:
✦ Brave New World - Aldous Huxley: amzn.to/2JyaK96
✦ 1984 - George Orwell: amzn.to/3lmLzUk
✦ The Millionaire Fastlane - MJ Demarco: amzn.to/2ViGthn
✦ The 4-Hour Workweek - Timothy Ferriss: amzn.to/3mnypYD
✦ Homo Deus - Yuval Noah Harari: amzn.to/2VlFRYe
RU-vid Gear
✦ MacBook Pro 16 inch: amzn.to/3qe4MeF
✦ MX Master 3 Mouse: amzn.to/2VlkZQS
✦ Canon Rebel SL3: amzn.to/2ViIfPv
✦ Hiearcool USB Hub: amzn.to/3llsIsP
✦ iPad Pro 12.9 (3rd Generation): amzn.to/36kaVy0
✦ Apple Pencil (2nd Generation): amzn.to/2JoHy4y
✦ Yeti Microphone: amzn.to/37oRNOq
✦ Rode Boom Arm: amzn.to/3lnEKCb
✦ Blue Radius II Shock Mount: amzn.to/2JoIfea
✦ Blue RPop Filter: amzn.to/39rQSiZ
✦ Sony WH1000XM3: amzn.to/3moWgHh
Thank you for watching!
#getpackage #getx #statemanagement

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

 

14 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 73   
@elgusotube11
@elgusotube11 4 года назад
Good!!! Please more videos with Getx samples of real life. TY
@tadaspetra
@tadaspetra 4 года назад
Gustavo Delgado I will probably be working with GetX until I find a reason for something else, so you should be seeing it show up around this channel
@kauemurakami
@kauemurakami 4 года назад
Follow getx_pattern kauemurakami.github.io/getx_pattern/ i'm including more examples and your translate language
@alanwilliamduarte5617
@alanwilliamduarte5617 4 года назад
I absolutely love GetX, i am even trying to improve documentation because that's the only part it has to get better (also because i don't understand enough to mess with source code :D ) I hope you test all of its functionalities, and make a video. But this is already amazing! thank you
@tadaspetra
@tadaspetra 4 года назад
People seem to really want more GetX videos, so i will definitely be working with it some more
@BeDevOficial
@BeDevOficial 4 года назад
I am Brazilian man , good video. Get is amazing.
@tadaspetra
@tadaspetra 4 года назад
You are amazing for watching 😊
@HimanshuYT
@HimanshuYT 4 года назад
Really i am waiting for this thank you!
@petersam1823
@petersam1823 4 года назад
Get is the Best State management. Very Easy to use.
@tadaspetra
@tadaspetra 4 года назад
Peter Sam I wouldn’t give it the label as “best”. The other state management are great too and I think it depends on preference. But it is pretty good 😊
@mitzukodavis7393
@mitzukodavis7393 4 года назад
@@tadaspetra the best :v
@tadaspetra
@tadaspetra 4 года назад
Mitzuko Davis 😂😂 ok ok
@innovationsapps5601
@innovationsapps5601 4 года назад
3 years with Flutter (since the technical preview). I went through InheritedModel, ScoppedModel, Redux, BLoC, Provider, Mobx, and now we use GetX for everything in my company. We are 9 developers (2 natives, 7 Flutter), and we all agree that GetX is the best state manager we've worked with. It's much better at working as a team. Developers who take care of View are only concerned with replicating the code of designs in StatelessWidget, while developers of business logic take care of business logic only. In the past, to have a simple APIRest communication, it was necessary to create a StatefulWidget, initialize the call to the bloc/store/provider api in initState, and everything stayed together. To receive data it was also necessary to receive it in the constructor, and send it in the initState to the class that takes care of business logic. That was terrible. The Controllers' lifecycle is also a killer at GetX. Ok, opinion is opinion, but if you build a single real project with GetX alone, you will probably have the same opinion, GetX is currently the best state management solution, and the most complete as well. Streams, Workers, Binds, is something that really makes other managers look like "toys". And I don't say that as a fan, because I'm not. I hate the controversies surrounding this package on Reddit, but because in a real company it has reduced about 70% of our deadlines, and time is money.
@tadaspetra
@tadaspetra 4 года назад
Innovations Apps great viewpoint! I think I gotta try using it for real project, to try out how it works for a bigger project. But even from this first look it is impressive
@bobolsen7132
@bobolsen7132 4 года назад
Excellent video. I might suggest not using background music during your lecture as it is a bit distracting. Other then that, nice overview of GetX!
@mitzukodavis7393
@mitzukodavis7393 4 года назад
the music is good
@tadaspetra
@tadaspetra 4 года назад
I try to keep it not too loud to distract, but you might be right. I’ll consider this 😊. Thanks for the feedback
@bobolsen7132
@bobolsen7132 4 года назад
Thanks. I look forward to more videos!
@kotanaka
@kotanaka 2 года назад
Thx for the video. 10:20 i needed to change "event.data['counter']" to "event.get('counter')" because of the flutter update.
@gabrielrocha2640
@gabrielrocha2640 4 года назад
B R A S I L
@alanwilliamduarte5617
@alanwilliamduarte5617 4 года назад
é nóis
@jrheisler
@jrheisler 4 года назад
Get got me with the contextless dialog/snackbar/bottomsheet, and I do use it for singleton usage, but I haven't really found the need for it's other capabilities. I think what has held me off is the variety (GetX, Obx, ...). I'm more the tell me what to use, and how to use it guy, then I'll make up my own shortcuts. Also, and sorry for the long comment, what did the Get package add to your Stream? It looks like a simple Stream, except you needed to dispose of it. Doesn't StreamBuilder dispose of it's stream for you? Thank you for doing this video!
@tadaspetra
@tadaspetra 4 года назад
j heisler yes exactly I really like the contextless navigation so much. And no I thought I mentioned in the video, Get package doesn’t have anything special for streams. But I thought I would include the basic implementation anyways 🤷‍♂️. Also you might be right StreamBuilder might take care of disposing too. I’m thinking of potentially using get just got the navigation. And I want to try out the new riverpod state management (made by provider author)
@jrheisler
@jrheisler 4 года назад
@@tadaspetra I too was intrigued by RiverPod, looked very simple. As for StreamBuilder, I've read that over and over, if you use StreamBuilder, it will take care of the stream once the variable is disposed of. I have up to a dozen streams of collections from firestore that open and close depending on view, or at least I hope they do...
@cyclothunder
@cyclothunder 4 года назад
Thanks for your video. What theme are you using?
@tadaspetra
@tadaspetra 4 года назад
Its called "Pitch Black"
@shreyanssethia7368
@shreyanssethia7368 4 года назад
Hey man, can you help me? I am learning getx. So, I am storing a bool in my SharedPreferences and I need to retrieve it as soon as the app opens [so, initState()] but that requires StatefulWidget... how do I do it with Get? I am making a dynamic theme changing app.
@tadaspetra
@tadaspetra 4 года назад
Shreyans Sethia the GetX and GetBuilder have an initState, where you could initialize things!
@shreyanssethia7368
@shreyanssethia7368 4 года назад
@@tadaspetra Yup, found it. Thanks! Do make another video on it. This package is awesome and you're the only one explaining it.
@tadaspetra
@tadaspetra 4 года назад
Already got the next video for it planned 😊
@younisalabri7788
@younisalabri7788 3 года назад
thank you dear
@najafsikander8760
@najafsikander8760 3 года назад
how can you run realtime with rest api using getx?
@fer-ri
@fer-ri 4 года назад
Great video! Maybe in the next video, you can remove the music background, to more focused on your speech :+1:
@tadaspetra
@tadaspetra 4 года назад
Second comment about that. 🤔🤔 Now I really have to consider it
@fer-ri
@fer-ri 4 года назад
@@tadaspetra Yes, you should. Lol .. :p
@khalidalsaleh8883
@khalidalsaleh8883 3 года назад
Thanks a lot bro! This library is great! But a lot of people made me confused cause of their bad ideas about this library. They said that it's limited and it's not a good thing to have a library that controls everything in your project. They told me that provider or riverpod are much better. I really loved getx but i don't know what i am gonna have problems in the future. Could u please help me to find the best solution ? Thank u again!
@tadaspetra
@tadaspetra 3 года назад
I personally use Riverpod to be honest. I think GetX is a great way to get started, but I really like the safety Riverpod brings. Of course with using Riverpod the code gets a little more complex. But from what I remember I think there's a lot of bigger apps using GetX and it works well, so I don't think there's any problems
@vanhelsing4454
@vanhelsing4454 3 года назад
What is your vscode theme?
@tadaspetra
@tadaspetra 3 года назад
Van Helsing it's called "Pitch Black" 😊
@vanhelsing4454
@vanhelsing4454 3 года назад
@@tadaspetra oh Thanks! Im watching your getx and codemagic videos now. 😁
@tadaspetra
@tadaspetra 3 года назад
Van Helsing awesome! Thanks for watching 😊
@vanhelsing4454
@vanhelsing4454 3 года назад
Your videos are awesome man, Thanks 😉👍🏻
@onlylooser1
@onlylooser1 3 года назад
Please do not use background music
@techsterz7358
@techsterz7358 4 года назад
MobX vs GET?
@tadaspetra
@tadaspetra 4 года назад
Tech Sterz to be honest MobX is one of the only ones I haven’t looked into much at all so I don’t think I know the answer to this 😂
@innovationsapps5601
@innovationsapps5601 4 года назад
GetX without a doubt! This is like comparing a Daewoo to a Ferrari. You're basically comparing something powerful and reactive to something that needs an absurd boilerplate or code generator to work.
@techsterz7358
@techsterz7358 4 года назад
@@innovationsapps5601 its really helpful, thanks
@peekpt
@peekpt 4 года назад
One thing it lacks from Mobx is the reaction-> effect thingy. But In other way it has many goodies
@tadaspetra
@tadaspetra 4 года назад
Short to Ground can you elaborate on the reaction -> effect thingy 😂. I'm working on a video on Complete GetX state management video. And I'm curious
Далее
Complete GetX Navigation | Flutter
11:17
Просмотров 39 тыс.
Omni AI - A nova era do GPT Maker
1:11:54
Просмотров 228
ROLLING DOWN
00:20
Просмотров 7 млн
Complete GetX State Management | Flutter
18:16
Просмотров 69 тыс.
Get CLI: A GetX Tool
10:44
Просмотров 18 тыс.
GetX Other Features | Flutter
12:59
Просмотров 22 тыс.
State Managers Are Making Your Code Worse In React
13:33
State Management Like A Pro - Flutter Riverpod
10:30
Просмотров 76 тыс.
Is GetX Dead?
6:03
Просмотров 11 тыс.