美文网首页
流式布局 - wrap

流式布局 - wrap

作者: 努力生活的西鱼 | 来源:发表于2023-09-17 17:53 被阅读0次
  Wrap({
    super.key,
    this.direction = Axis.horizontal, // 排列的方向,横向或纵向
    this.alignment = WrapAlignment.start, // 主轴方向,子项的对齐方式
    this.spacing = 0.0, // 主轴方向,子widget的间距
    this.runAlignment = WrapAlignment.start, // 侧轴的对齐方式
    this.runSpacing = 0.0, // 侧轴方向的间距
    this.crossAxisAlignment = WrapCrossAlignment.start, // 侧轴的对齐方式(每一行)
    this.textDirection,
    this.verticalDirection = VerticalDirection.down,
    this.clipBehavior = Clip.none,
    super.children,
  })

相关文章

网友评论

      本文标题:流式布局 - wrap

      本文链接:https://www.haomeiwen.com/subject/jwewvdtx.html