I’ve got this problem too. My solution is use Expanded
widget to expand remain space.
Column(
children: <Widget>[
Expanded(
child: horizontalList,
)
],
);
More Related Contents:
- How to deal with unwanted widget build?
- Flutter: Scrolling to a widget in ListView
- How to show/hide widgets programmatically in Flutter
- Flutter: Expanded vs Flexible
- How can I layout widgets based on the size of the parent?
- Preserving state between tab view pages
- What is the difference between functions and classes to create reusable widgets?
- How to get height of a Widget?
- Adding a splash screen to Flutter apps
- Flutter: How to correctly use an Inherited Widget?
- Flutter – Wrap text on overflow, like insert ellipsis or fade
- How to refresh an AlertDialog in Flutter?
- How to create dropown list in flutter where data comes from API?
- How do I do the “frosted glass” effect in Flutter?
- How to add image in Flutter
- InkWell not showing ripple effect
- How can I add a border to a widget in Flutter?
- How to detect swipe in flutter
- Sizing elements to percentage of screen width/height
- The equivalent of wrap_content and match_parent in flutter?
- Flutter: Remove padding in buttons – FlatButton, ElevatedButton, OutlinedButton
- TextField inside of Row causes layout exception: Unable to calculate size
- Vertical viewport was given unbounded height
- How to check if scroll position is at top or bottom in ListView?
- Flutter use variable created inside Future builder outside of the build method,
- Flutter: “RenderFlex children have non-zero flex but incoming height constraints are unbounded”
- How to use BottomNavigationBar with Navigator?
- How can I add shadow to the widget in flutter?
- How do I remove Flutter IconButton big padding?
- Flutter – How to make a custom TabBar