When you use MediaQuery you need to calculate all the paddings, margin, spacement etc... try to avoid it using expanded/flexible widgets, it's like a web: give a size to a parent widget and let the children get the automatic size and spacement.
Set a boolean if the mediaquery is less than 850 for example and build conditional widgets in your tree. So if it's mobile those widgets will be shown or hide.
When you use MediaQuery you need to calculate all the paddings, margin, spacement etc... try to avoid it using expanded/flexible widgets, it's like a web: give a size to a parent widget and let the children get the automatic size and spacement.
that problem can also be solved by wrapping the container inside the Expanded widget.
What is better?
Ok. Now what if the container contains a text? Now you have to specify the font size using mediaquery right
u should create similar video with such good explanation for all flutter widgets & important topics
Subscribing because you taught me something
Saved for future use, it's awesome🤗
this videos helpful for me 🙏
Glad to hear that
these all things are well describe on "Pro Q" flutter channel
for deep understanding about media query etc
Tks for the video 👍
How to set additional settings for Mobile screens ?
Addition settings like what?
Set a boolean if the mediaquery is less than 850 for example and build conditional widgets in your tree. So if it's mobile those widgets will be shown or hide.
Tank's bro
instead of MediaQuery.of(context).size, I use double.infinity
×0×0×0×0×0×0×0× ×[..]×: :
: :÷: :×0×0×0×0×0×0×0× : :
#nusaindah
#gajahmada
#tamansari
#perdana
#mandiri
#britama
#kurniabhakti
#rosalliaindah
#gunungharta
#sumberalam
: :וT•N•G•×: :×[..]× ×[..]×: :
: :🇵🇸: : ×0×0×0×0×0×0×0×
×0×0×0×0×0×0×0× : :🇮🇱: :
: :🇲🇨: : ×0×0×0×0×0×0×0×
×[..]× : :×0×0×0×0×0×0×0×
:3671 111 021288 000 3:
: :×[.m.o.r.i.s.]×: : : :
: : : :×[.o.f.i.c.i.a.l.l.]×: :
: :×[.p.a.t.a.s.]×: : : :
: : : : ×[..]× ×[..]× ×[..]× : :
×[..]× ×[..]× ×[..]× : : : :
×0×0×0×0×0×0×0× : :×[..]×
×[..]× ×[..]× ×0×0×0×0×0×0×0× ×[..]×
indonesia afganistan palestina : :
×[..]× ×[..]× ×[..]× : : ×[..]×: : : :
bayunirayudha_bayu@bayunirayudha
×0×0×0×0×0×0×0× ×[..]× ×[..]× ×[..]×
×[..]× ×[..]× ×[..]× ×0×0×0×0×0×0×0×
Code & Written tutorial: widgetwisdom.com/flutter-responsive-design
This url not work sir
worst thing i learned today
don't use misleading thumbnails.
There is nothing misleading in the thumbnail.
I'd use a row and flex