在整个屏幕上都有一个listview。我希望在屏幕底部有一个按钮,以便将其拆分,以便列表 View 不会填满我的整个窗口。

    image.png

    1. Column(
    2. children:[
    3. Expanded(
    4. child: ListView(
    5. padding: const EdgeInsets.only(top: 10.0),
    6. children: snapshot.map((data) => _buildListItem(context, data)).toList(),
    7. ),
    8. ),
    9. RaisedButton(
    10. // fill in required params
    11. )
    12. ])