For responsive design we can use different techniques, such as:
- Flexible elements using different Widgets, including
Expanded
andSizedBox
- Use in a
Container
orSizedBox
awidth
orheight
with the special valuedouble.infinity
- Use
Wrap
instead ofColumn
orListView
- Use Media Queries to make conditional Widget rendering, using
MediaQuery.of(context)
and saving it in a variable in thebuild
method