Expanded Widget and Flexible Widget in Flutter | Flutter Tutorials in Hindi | #75

preview_player
Показать описание
In Flutter, the Expanded and Flexible widgets are used to give a child widget the ability to take up remaining free space within a layout. They are often used in combination with Row and Column widgets to create flexible layouts.

----------------------------------
Row Widget in Flutter | Flutter Tutorials in Hindi | #74

Column Widget in Flutter | Flutter Tutorials in Hindi | #73

Gradient Property in Flutter | Flutter Tutorials in Hindi | #72

Difference Between HTML and XHTML

How do I use Hexadecimal Color Codes in Flutter | #72

Container Widget in Flutter [Part 2] | Flutter Tutorials in Hindi | #71

Container Widget in Flutter [Part 1] | Flutter Tutorials in Hindi | #70
----------------------------------

My YouTube Gear:

#ahirlog #flutter #dart

Рекомендации по теме
Комментарии
Автор

As-salamu 'alaykum! For those wondering how the _flex_ property works, it basically takes the sum of all flex factors and uses that to calculate the height.
For example, if you have three *Flexible* widgets, and the first one has its flex property set to 6, second one set to 4, and third one set to 2, the height of the first widget is going to be 6 / (6 + 4 + 2) which is 6/12 of the body. Think of this like a ratio...

kifayatUllah
Автор

Sir, please dart keyboard Late, As, assert, await, Async, sync, export, factory, Interface, Yield, Typedef, Mixin, Rethrow, Part, Covariant, Deffered, EXTENSION, EXTERNAL

kamalCode
join shbcf.ru