Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
252 views
in Technique[技术] by (71.8m points)

flutter - Datatable with unfoldable rows

Is there any way to make a Datarow fold/unfold another widget (with more information for example) like an expansion tile? I was thinking of wrapping a Datarow in an ExpansionTile but since a Datarow is not a Widget it doesn't seem to be a solution.

I also tried to wrap all of the widgets in my DataCells in ExpansionTiles to see how it behave and maybe find a way to collectively open it all but the bottom row doesn't go down. Hence an overflow error occurs. And even if it doesn't I don't think it would be a solution to show a single widget taking the full row width below the unfolded row.

Any ideas on how to do that or if it is even a possibility?

Thanks

question from:https://stackoverflow.com/questions/66058928/datatable-with-unfoldable-rows

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...