JuiDashedBorder constructor
const
JuiDashedBorder({})
创建一个 JuiDashedBorder 组件
dashColor:虚线颜色,默认为JuiTheme.colors.primary。dashWidth:虚线的宽度,默认为2。dashHeight:虚线的高度,默认为1。dashSpace:虚线之间的间距,默认为2。borderRadius:边框的圆角半径,默认为8。child:需要包裹的子组件,必填。onTap:点击边框时的回调(可选)。
Implementation
const JuiDashedBorder({
Key? key,
this.dashColor,
this.dashWidth = 2,
this.dashHeight = 1,
this.dashSpace = 2,
this.borderRadius = 8,
required this.child,
this.onTap,
}) : super(key: key);