【问题标题】:How to realize the flutter gridview child height in different layout?不同布局下flutter gridview子高度如何实现?
【发布时间】:2019-07-10 21:24:50
【问题描述】:

图中的布局高度不一样,怎么办?

【问题讨论】:

  • 您使用的是StaggeredGridView 吗?

标签: gridview flutter-layout


【解决方案1】:

您可以使用StaggeredGridView 插件which can be found here 实现此效果,它允许您根据内容构建不同大小的网格,或者您也可以自定义某些网格的高度。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-04
    • 2020-06-20
    • 1970-01-01
    • 2019-09-15
    • 2021-04-16
    • 1970-01-01
    相关资源
    最近更新 更多