GestureViewPathWidget constructor

const GestureViewPathWidget({
  1. Key? key,
  2. required List<Offset> points,
  3. dynamic onPanDown(
    1. DragDownDetails
    )?,
  4. dynamic onPanUpdate(
    1. DragUpdateDetails
    )?,
  5. dynamic onPanEnd(
    1. DragEndDetails
    )?,
  6. Color color = Colors.blue,
  7. double pathWidth = 4,
})

Implementation

const GestureViewPathWidget({
  Key? key,
  required this.points,
  this.onPanDown,
  this.onPanUpdate,
  this.onPanEnd,
  this.color = Colors.blue,
  this.pathWidth = 4,
}) : super(key: key);