【问题标题】:please help i cant build same this widget , I can't build containers inside listview with flutter code请帮助我无法构建相同的这个小部件,我无法使用颤振代码在列表视图中构建容器
【发布时间】:2022-01-22 13:08:13
【问题描述】:

请帮助我无法构建相同的这个小部件,我无法使用颤振代码在 listview 中构建容器

【问题讨论】:

标签: flutter dart listview flutter-layout


【解决方案1】:

ListView 中的每个 Container(height : /* fixed height value */) 指定高度。

使用Transform.translate(child : Container(height : /* fixed height value */)) 获取image 中提到的设计。

【讨论】:

    猜你喜欢
    • 2021-11-25
    • 2020-07-17
    • 2020-01-16
    • 1970-01-01
    • 2021-10-15
    • 2019-04-29
    • 2021-08-04
    • 2020-11-26
    相关资源
    最近更新 更多