ConnectorStyle constructor

const ConnectorStyle({
  1. double? width,
  2. double? dashHeight,
  3. double? dashSpace,
  4. Color? color,
  5. EdgeInsets? padding,
  6. bool showLineAfterLast = false,
  7. bool showLineBeforeFirst = false,
})

Implementation

const ConnectorStyle(
    {double? width,
    double? dashHeight,
    double? dashSpace,
    Color? color,
    this.padding,
    this.showLineAfterLast = false,
    this.showLineBeforeFirst = false})
    : dashColor = color ?? Colors.grey,
      dashSpace = dashSpace ?? 2,
      dashHeight = dashHeight ?? 10,
      width = width ?? 2;