DashLine constructor

const DashLine({
  1. Key? key,
  2. double length = 100.0,
  3. double thickness = 2.0,
  4. Color color = Colors.black,
  5. double dashLength = 5.0,
  6. double dashGap = 3.0,
})

Creates a dash line widget.

Implementation

const DashLine({
  Key? key,
  this.length = 100.0,
  this.thickness = 2.0,
  this.color = Colors.black,
  this.dashLength = 5.0,
  this.dashGap = 3.0,
}) : super(key: key);