颤振-垂直分隔线 [英] Flutter - Vertical Divider

查看:54
本文介绍了颤振-垂直分隔线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在抖动中,可以选择在组件之间绘制一条垂直线,如图所示.

In flutter, is there an option to draw a vertical line between components as in the image.

推荐答案

据我所知.但是,创建一个非常简单—如果您查看

Not as far as I know. However, it is quite simple to create one — if you look at the source for Flutter's Divider you'll see that it is simply a SizedBox with a single (bottom) border. You could do the same but with dimensions switched.

更新(2018年10月4日):VerticalDivider实现已文档,但是它非常易于使用-只需在两者之间连续两个其他项目.

Update (Oct 4, 2018): a VerticalDivider implementation has been merged in by the Flutter team. Check out the docs but it's very simple to use — simply put it between two other items in a row.

这篇关于颤振-垂直分隔线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆