PointConnectionStyle constructor
const
PointConnectionStyle({})
Creates a new instance of PointConnectionStyle.
The type
parameter specifies the type of connection. The default value is PointConnectionType.solid.
The color
parameter specifies the color of the connection. The default value is Colors.white.
The dotSize
parameter specifies the size of the dots in the connection. The default value is 1.
The lineWidth
parameter specifies the width of the line in the connection. The default value is 1.
The dashSize
parameter specifies the size of the dashes in the connection. The default value is 4.
The spacing
parameter specifies the spacing between dots in the connection. The default value is 8.
Example usage:
PointConnectionStyle(
type: PointConnectionType.solid,
color: Colors.white,
dotSize: 1,
lineWidth: 1,
dashSize: 4,
spacing: 8,
);
Implementation
const PointConnectionStyle({
this.type = PointConnectionType.solid,
this.color = Colors.white,
this.dotSize = 1,
this.lineWidth = 1,
this.dashSize = 4,
this.spacing = 8,
});