flutter - 如何用来自material.io的flutter实现这个材质卡?
问题描述
在 material.io,他们有这个材料卡的标准结构: https ://material.io/design/components/cards.html#anatomy
我想知道您将如何在颤振中实现这一点和/或是否有一些抽象可以用来使卡片看起来像这样。谢谢!
解决方案
card -> column [
ListTile -> title, subtitle, leading,
Row -> expanded -> image.asset,
Row -> text,
Row mainaxisalignment: spacebetween -> Row(buttons here as a child) , Row(Icons here as a child)
]
我没有时间用颤振编写所有代码你可以通过使用它来创建它
推荐阅读
- javascript - ondragstart - 如何删除动画?
- powerbi - Power BI 中没有周末天数的月份排名
- spring-boot - 在运行时覆盖 log4j2 RollingFile appender 文件路径
- android - 无法将数据保存到 Firebase
- flutter - 在颤动中获取空值而不是输入值
- javascript - 无法使用 office.js API 读取现有 Word 文档中的内容控件
- javascript - Node.js 时刻时区转换未按预期工作
- r - R中的嵌套for循环索引问题
- excel - 所有 Excel 公式一次更新
- python - 如何从网址下载字典?