Тёмный

Conditional Builder vs Visibility | Best Practices 

FlutterFlow
Подписаться 88 тыс.
Просмотров 4,1 тыс.
50% 1

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

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@Roman-wq8ei
@Roman-wq8ei 5 дней назад
This is exactly what I needed to see! Thank you!
@Nicolae98
@Nicolae98 9 дней назад
I love flutterflow! ❤️ The flutterflow team is doing great things 🏅🏆
@Nocode_Solutions
@Nocode_Solutions 10 дней назад
Nice one Pooja. In had an understanding from looking at the generated code but it's super clear having you explain. There are so many weird scenarios I use conditional builder to limit my backend calls.
@FlutterFlow
@FlutterFlow 9 дней назад
Glad it was helpful! :)
@amongstar1407
@amongstar1407 10 дней назад
Add Video Call Feature!
@francomuoio
@francomuoio 9 дней назад
Bravo pour cette vidéo 🙏
@angryyoungman4389
@angryyoungman4389 7 дней назад
Thanks Pooja, Har Har Mahadev Jai Mata Di❤❤❤❤❤❤❤❤❤❤
@anli6987
@anli6987 9 дней назад
can i ask, why the simple search do not use the conditional builder according for flutterflow document, When we don't use the conditional builder, use the conditional visibility, the two list view will count query two time from firebase?
@alisaen2128
@alisaen2128 7 дней назад
Up
@Pankomentator
@Pankomentator 9 дней назад
Dear FF Team, please focus on speed up initial rendering of WEB APP. Thank You!😊
@Jaiho-cl1jr
@Jaiho-cl1jr 9 дней назад
They are working on it, in FFDC it is mentioned... there will be WASM & 70% improvement
@Jaiho-cl1jr
@Jaiho-cl1jr 7 дней назад
flutterflow team pla work on it quicker
@RR-et6zp
@RR-et6zp 6 дней назад
@@Jaiho-cl1jr when?
@designnocode
@designnocode 10 дней назад
Love this Pooja!! You are the best! Would love to know how to handle responsiveness -- Should we use responsive visibility or conditional builder and then responsive breakpoints being the condition? I am mainly wondering from a best practice / performance perspective.
@PoojaBhaumik1
@PoojaBhaumik1 10 дней назад
Thank you Andrew 💜 And responsive visibility may be better because it handles most of the cases and under the hood, its still "if else" so it renders one child at a time + handles the breakpoints in a more cleaner way. But I can dig into this topic more and see if I can create a video about best practices around responsiveness once I find more details. Thank you again :)
@designnocode
@designnocode 7 дней назад
@@PoojaBhaumik1 Nice! Thank you, much appreciated!
@flutterflowexpert
@flutterflowexpert 10 дней назад
PRO TIP: if you are having an error in your code and you see the red screen of dead just hiding the widget will not work. You need to delete it.
@FlutterFlow
@FlutterFlow 10 дней назад
It can work in some cases though, for example, inside a list like widget, it will not render that widget when the condition is false.
@flutterflowexpert
@flutterflowexpert 9 дней назад
@@FlutterFlow I ment if you have a syntax error or a null error in your code even hiding the widget will not help it. I learnt that the hard way 😂
@jeanpierreunis
@jeanpierreunis 10 дней назад
Nice video thx
@pramodgeorgehq
@pramodgeorgehq 10 дней назад
Great video
@donghyeonkim9957
@donghyeonkim9957 6 дней назад
please let me us how to integrate GPT-4o Realtime(Voice) API into Flutterflow.
@leandro71254
@leandro71254 10 дней назад
I needed a more detailed example and how you did it in practice, I myself can't recreate this counter system and how you did it to show or not the responses to the comments, I made my comment counter using supabase query and filtering the post id with the comment id and putting it in a text as the number of items, I have no idea how to hide it from the interface when there are no comments.
@16td
@16td 10 дней назад
Need more case videos like this. Great video, thanks Pooja!
@PoojaBhaumik1
@PoojaBhaumik1 10 дней назад
More incoming! Ty! 💜💜
@chinmaykhandelwal7171
@chinmaykhandelwal7171 10 дней назад
OR Suppose let us take an example - if their are two list view inside a Stack with opposite conditional visiblity conditions they both render or not
@chinmaykhandelwal7171
@chinmaykhandelwal7171 10 дней назад
Suppose let us take an example - if their are two list view inside a column with opposite conditional visiblity conditions they both render or not
@FlutterFlow
@FlutterFlow 10 дней назад
If they are dependent on the same variable (like one should be rendered on true, and one on false), only one of them will render at any time (bcz they are inside a Column, so in generated code its doing a if() block)
@chinmaykhandelwal7171
@chinmaykhandelwal7171 10 дней назад
@@FlutterFlow thank you for your reply but still I am confused that what is the use of conditional builder because listview Or rows are always inside a parent column while building a widget tree
@FlutterFlow
@FlutterFlow 10 дней назад
@@chinmaykhandelwal7171 Check out the last part of the video where we summarize the usecases. Like if you are creating a component, the root widget doesnt necessarily have to be a column. (You only care about the direct parent) Also major usecase for a conditional builder is when you have multiple UI elements for 1+ or 2+ conditions, so "if, else if, else if, else"
@flutterflowexpert
@flutterflowexpert 10 дней назад
I use 99% Conditional Builder and 1% conditional Visibility 😊
@FlutterFlow
@FlutterFlow 10 дней назад
Do you always have an else condition 99% of the cases? Because conditional builder requires a widget for the else condition everytime and sometimes we just want to hide/show things and not switch UI (and using an empty container for "else" may not be a good practice)
@flutterflowexpert
@flutterflowexpert 9 дней назад
@@FlutterFlow when I use Conditional Builder I always have widgets in both If and Else statements
Далее
#kikakim
00:17
Просмотров 7 млн
React Native vs Flutter - Which should you use?
22:31
No Code App Development is a Trap
9:31
Просмотров 276 тыс.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Relume AI Website Builder | $3,000 an hour
19:59
Просмотров 368 тыс.
Why does JavaScript's fetch make me wait TWICE?
6:23
Просмотров 183 тыс.
No-Code is Trash
9:57
Просмотров 131 тыс.
10x Your Speed With Flutter
8:04
Просмотров 59 тыс.
Harvard Fake Data SCANDAL: Why Academics Fake Data
8:50