FDottedLine constructor
FDottedLine({})
FDottedLine 为开发者提供了创建虚线的能力。同时支持为一个 Widget 创建虚线边框。支持控制虚线的粗细,间距,以及虚线边框的边角。
FDottedLine provides developers with the ability to create dashed lines. It also supports creating a dashed border for a Widget. Support for controlling the thickness, spacing, and corners of the dotted border.
Implementation
FDottedLine({
Key? key,
this.color = Colors.black,
this.height,
this.width,
this.dottedLength = 5.0,
this.space = 3.0,
this.strokeWidth = 1.0,
this.corner,
this.child,
}) : super(key: key) {
assert(width != null || height != null || child != null);
}