Mo Malaka ๐Ÿ’™ Profile picture
Feb 15 โ€ข 6 tweets โ€ข 3 min read
๐Ÿ’™ Are you a Flutter Developer? ๐Ÿ’™

Expanded is a widget that expands a child of a Row, Column, or Flex so that the child fills the available space. Let me show you how to use the expanded widget to create
screen responsive layouts in Flutter

๐Ÿคฉ๐Ÿ”ฅ๐Ÿš€

1/n
๐Ÿงต ๐Ÿ‘‡

#flutter
๐ŸŒŸ Use Expanded widget inside a Column widget

When we use Expanded widget inside a Column Widget, it takes the screen height as the available space and divides it equally

2/n
๐Ÿงต ๐Ÿ‘‡ ImageImage
๐ŸŒŸ Use Expanded widget inside a Column widget

You can use the Flex attribute for each of the expanded widgets to determine the screen ratio in which that widget is acquired.

3/n
๐Ÿงต ๐Ÿ‘‡ ImageImage
๐Ÿ’ก Use Expanded widget inside a Row widget

When we use Expanded widget inside a Row Widget, it takes the screen width as the available space and divides it equally

4/n
๐Ÿงต ๐Ÿ‘‡ ImageImage
๐Ÿ’ก Use Expanded widget inside a Row widget

You can use the Flex attribute for each of the expanded widgets to determine the screen ratio in which that widget is acquired.

5/n
๐Ÿงต ๐Ÿ‘‡ ImageImage
Thanks for checking this out!

1. Follow @_Mo_Malaka_ for more such threads.

2. Retweet the first tweet to spread awareness.

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Mo Malaka ๐Ÿ’™

Mo Malaka ๐Ÿ’™ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @_Mo_Malaka_

Nov 22, 2021
I love the new features from @AWSAmplify! Huge shout-out to the engineers working on this, It's so great to see that they are constantly improving their product.

Below, I summarize last week's launches

1/n
๐Ÿš€ NEW Override @AWSAmplify-generated resources

aws.amazon.com/blogs/mobile/oโ€ฆ

2/n
๐Ÿš€ NEW Extend @AWSAmplify backends with custom AWS resources using AWS CDK or @AWSCloudFormer

aws.amazon.com/blogs/mobile/eโ€ฆ

3/n
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(