1 Divider
一个逻辑1像素厚的水平分割线,两边都有填充
2 构造函数
Divider({ | |
Key key, | |
this.height, | |
this.thickness, | |
this.indent, | |
this.endIndent, | |
this.color, | |
}) |
3 常用属性
3.1 height:水平线的高度范围
height: 1.0,
3.2 indent:缩紧,距左边距的距离
indent: 0.0,
3.3 color:水平线的颜色
color: Colors.pink,
3.4 thickness:在分隔线内绘制的线的厚度
thickness:5.0,
3.5 endIndent:分隔线后面的空间量
endIndent:5.0,
正文完