Тёмный
No video :(

Responsive Layouts for Responsive Apps 

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

With Flutter Web coming out responsive layouts are a must! There are 8 different ways to deal with responsiveness. As long as you get a good grasp on these you should be able to create apps that look beautiful on every platform
Source Code: github.com/tad...
Support Me
✦ GitHub Sponsors: github.com/spo...
✦ Patreon: / tadaspetra
Connect With Me
✦ My Website: tadaspetra.com/#/
✦ Live Coding: / tadaspetra
✦ Twitter: / tadaspetra
✦ Chat on Discord: / discord
✦ Instagram: / tadaspetra
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!
#Hashtags here

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

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
3 года назад
I would like to point out a important difference between MediaQuery and LayoutBuilder. If you use then as parent of your page, sure, they will work the same. However, while MediaQuery returns the dimensions of the screen, LayoutBuilder returns the dimensions of the available space (determined by the constraints passed from the parent to its child)
@tadaspetra
@tadaspetra 3 года назад
Yes! I actually meant to mention that in the video, but I guess I missed it. I will pin your comment. Great catch!
@mnc12004
@mnc12004 2 года назад
I have an in production with many screens. To get it working on Web and desktop to, I need to sort out the layouts for bigger screens. Not really sure how to achieve it, but yep loads research and trial and error. Thanks loads for this video. Points me in the right direction...
@JigneshWorld
@JigneshWorld 3 года назад
Thanks much, nice video and fundamental building blocks to have responsiveness on your flutter app. AFAIK: MediaQuery and LayoutBuilder will have a different use-case MediaQuery - It will provide size of the current media (e.g., the window containing your app). This is useful to know size of the app window when app used in mobile full screen, part of screen with picture in picture mode, foldable device or desktop app window or browser window size. LayoutBuilder - It will provide constraints of parent to it's child to render widget accordingly. This is useful when the parent constrains the child's size and doesn't depend on the child's intrinsic size. e.g. auto size text
@tadaspetra
@tadaspetra 3 года назад
Yes you are correct!
@christianmarpert3844
@christianmarpert3844 3 года назад
Thks mate! nice explanation! For my purposes I createt a deviceSettings class containing all relevant properties. In a next step I use a function returning a deviceSetting object, depending on the device I pass in(mobile, tablet, laptop). To get the device itself I use the GetX package. Maybe there are simpler ways, but works pretty well for me. And I can incorporate some of your tips ;). Cheers
@mithson
@mithson 3 года назад
Nice video bro, great work keep doing it
@ebenezervampu7882
@ebenezervampu7882 Год назад
Thank you so much
@chipekowasa6571
@chipekowasa6571 2 года назад
Awesome 👏👏👏
@silas_wolf
@silas_wolf 3 года назад
THANK YOU!!!
@tadaspetra
@tadaspetra 3 года назад
Happy to help!
@festusikperha6528
@festusikperha6528 3 года назад
So awesome
@michaelkalango5779
@michaelkalango5779 3 года назад
Nice! Thanks for the video..
@tadaspetra
@tadaspetra 3 года назад
Thanks for watching!
@marufhassan634
@marufhassan634 3 года назад
Its all fine and good but we need a simpler way for responsiveness of the app's height, width and fontSize. All these values are provided by the designer in Figma and I can't keep using hit and try method to find the percentage or ratio it works out with. We need a simple widget that takes in exact value and resizes the fontSize and text according to the screen change.
@tadaspetra
@tadaspetra 3 года назад
You could use this. pub.dev/packages/auto_size_text
@olajireabdullahi1196
@olajireabdullahi1196 3 года назад
Thanks for the video. Which emulator are you using to the extends that you can resize and expand it. Is it device preview package??
@dwiky2329
@dwiky2329 2 года назад
it's a macOs device. Not an emulator
@arustresso
@arustresso 3 года назад
Wat do u prefer?
@tadaspetra
@tadaspetra 3 года назад
I think they are all for different situations. So it really depends on what you need to do
@SandeepKumar-gg9jg
@SandeepKumar-gg9jg 3 года назад
Noice
@sanjindervisevic5243
@sanjindervisevic5243 3 года назад
Are you running on M1?
@tadaspetra
@tadaspetra 3 года назад
No still on the Intel processor
@Algardraug
@Algardraug 3 года назад
"A square with an aspect ratio of 2:1".... that's a rectangle
Далее
Clean and Organized Code with Linting
9:41
Просмотров 10 тыс.
How to Make Responsive Flutter Apps, Pixel Perfect
14:58
Коротко о моей жизни:
01:00
Просмотров 301 тыс.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
Flutter Responsive Design Tutorial 📲
11:00
Просмотров 66 тыс.
🖥📱RESPONSIVE DESIGN • Flutter Tutorial
8:03
Просмотров 281 тыс.
Create Responsive Flutter Apps with Minimal Effort
43:10
Best 30 Flutter Widgets, Packages & Tips
5:11
Просмотров 120 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 944 тыс.
Is Jaspr better than Flutter Web?
6:03
Просмотров 4 тыс.
Adaptive vs. Responsive | Decoding Flutter
5:09
Просмотров 105 тыс.
No Code App Development is a Trap
9:31
Просмотров 220 тыс.
Flutter Responsive Design Guide
11:59
Просмотров 55 тыс.