Тёмный

Get StateMixin tutorial | Flutter made easy 

CodeX
Подписаться 47 тыс.
Просмотров 6 тыс.
50% 1

Get is very powerful framework and you can achieve more with very less code.
In this tutorial I have discussed how to manage state with StateMixin and handle different states of data loading.
Git Source:
github.com/afzalali15/StateMixin
To learn more about GET_CLI watch this 👇🏼:
• 100x faster with GET_C...
If you like my work
Support Me on Ko-Fi : ko-fi.com/afzalali15
Join this channel to get access to perks:
ru-vid.comjoin
Gears ========
Camera 📸 || Canon 250D : amzn.to/34isdKr
Mic 🎤 || Maono AU-04 : amzn.to/341g9wS
#CodeX
Connect with me on social media:
FB: / codexdevs
Twitter: / afzalali_dev
LinkedIn: / afzalali15
Discord: / discord

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

 

3 сен 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@wasibhussain
@wasibhussain Год назад
such an informative tutorial with perfect audio and video quality
@sherdil5319
@sherdil5319 Год назад
Can you please create a lecture on getx binding
@dineshfalwadiya3282
@dineshfalwadiya3282 Год назад
Awesome Video
@user-bb8nj5uw3z
@user-bb8nj5uw3z 10 месяцев назад
Great ❤🫡
@Isthiyaquekambathagothi
@Isthiyaquekambathagothi Год назад
Can this be used to manage local db (sqflite) and then synchronisation to server once online ?
@CodeXdev
@CodeXdev Год назад
of course, you can call change method multiple times with different data and it will update UI accordingly
@tristankluivert197
@tristankluivert197 Год назад
What about retry, if user clicks on "something went wrong" , what function would we call? Can we call fetchComment?
@CodeXdev
@CodeXdev Год назад
Exactly, you can call controller.fetchComment on click. But, before that just change the status to RxStatus.Loading so that UI again shows shimmer effect of loading.
@muhammadbuhari6667
@muhammadbuhari6667 Год назад
can this be use with multiple calls and different objects? For example can i have a methods that one fetchs headlines and another fetches recent posts in the same controller with the same ui?
@CodeXdev
@CodeXdev Год назад
StateMixin can have only one type of data.. you can create separate observable for the purpose you mentioned.
@muhammadbuhari6667
@muhammadbuhari6667 Год назад
@@CodeXdev That's too bad
@gilangs8484
@gilangs8484 Год назад
@@CodeXdev do you have any example for this? thanks!
@renatobesson
@renatobesson Месяц назад
Which extension do you use to show inline code results? 4:10
@CodeXdev
@CodeXdev Месяц назад
It's Error Lens by Alexander
@xeno7828
@xeno7828 Год назад
i wonder .. is GetX 5 stable version really would be ready soon ?)
@CodeXdev
@CodeXdev Год назад
Even i am curious to see that. If it keeps delaying like this we might need to think for other options
@arupnaskarbkp
@arupnaskarbkp Год назад
how to use multiple api call one controller?
@CodeXdev
@CodeXdev Год назад
StateMixin is meant for one data per view, like contact list, branch list or just one data. In case you want multiple data in one page, use .obs as I have described in end of this video. You may want to learn about .obs and how it updates UI
@ponnivalavan4881
@ponnivalavan4881 Год назад
why http when getx has getconnect built in ?
@ernestdesbordes
@ernestdesbordes Год назад
@CodeX you probably have to do a tutorial on getconnect.
@CodeXdev
@CodeXdev Год назад
Indeed, I am so used to with http that I never use any other client. But, its good idea to use GetConnect as we are already in Get ecosystem.
@defensivepower7988
@defensivepower7988 Год назад
How can i do this with data modal?
@CodeXdev
@CodeXdev Год назад
Instead of List use your model
@cruisetom5838
@cruisetom5838 Год назад
where is github url ?
@CodeXdev
@CodeXdev Год назад
Thanks for reminding, added in description 👍🏼
Далее
Isolates in Flutter | Simplified
10:28
Просмотров 21 тыс.
Flutter in 2024: Cross Platform Tool You Must Learn!
10:05
Envy recreating this new trend ✨ #shorts
00:14
Просмотров 2,4 млн
💜☀️✨
00:47
Просмотров 214 тыс.
100+ Linux Things you Need to Know
12:23
Просмотров 274 тыс.
get_it_mixins - State management for get_it
11:59
Просмотров 3,9 тыс.
100x faster with GET_CLI || flutter setup tutorial
9:44
You might not need useEffect() ...
21:45
Просмотров 152 тыс.
Every Flutter App needs this!
10:15
Просмотров 54 тыс.
Envy recreating this new trend ✨ #shorts
00:14
Просмотров 2,4 млн