'Fix widget in bottom space
I need some help with a layout.
I need put some widgets inside a "Scrollview" but keep the buttoms in the bottom space of screen.
So if I change orientation the Layout will keep buttons at bottom and will scroll the widgets above.
How can I made it in flutter, I tried to use the Stack, Listview and others approaches, but i didn't have luck
Solution 1:[1]
Multiple ways. I recommend you either using a Scaffold or a Column:
If you are already using a Scaffold in your app, just add bottomNavigatorBar as a Parameter, your bar you want to have at the bottom in it and make sure the rest of your layout is located under it's body tag.
Otherwise you could use a Column:
Column( 
children: <Widget> [ 
Expanded(child:ScrollView(..),),
 yourBottomBar, 
] )
Or Flutter also has a Positioned widget which you can use in combination with a Stack:
Stack(
  children: [
    // some stuff
    Positioned(
      bottom: 0,
      child: yourBottomBar
    ),
  ],
)
    					Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | 
