ConnectorLineSettings constructor
const
ConnectorLineSettings({
- String? length,
- double? width,
- ConnectorType? type,
- Color? color,
Creating an argument constructor of ConnectorLineSettings class.
Implementation
const ConnectorLineSettings({
this.length,
double? width,
ConnectorType? type,
this.color,
}) : width = width ?? 1.0,
type = type ?? ConnectorType.line;