FlowLayoutItem add fullSpan attribute

This commit is contained in:
pengfei.zhou
2021-10-11 16:26:56 +08:00
committed by osborn
parent 9429c75834
commit 0e77c62e13
13 changed files with 53 additions and 5 deletions

View File

@@ -41,6 +41,10 @@ class FlowDemo extends Panel {
backgroundColor: colors[idx % colors.length],
height: 50 + (idx % 3) * 20,
layoutConfig: layoutConfig().configWidth(LayoutSpec.MOST),
}).also(it => {
if (idx == 15) {
it.fullSpan = true
}
})
},
loadMore: true,