DebugSignaturePainterCP constructor

const DebugSignaturePainterCP({
  1. required HandSignatureControl control,
  2. bool cp = false,
  3. bool cpStart = true,
  4. bool cpEnd = true,
  5. bool dot = true,
  6. Color color = Colors.red,
})

Creates a DebugSignaturePainterCP.

control The signature control providing the data to debug. cp Whether to draw all control points. cpStart Whether to draw control points at the start of segments. cpEnd Whether to draw control points at the end of segments. dot Whether to draw dots at the control points and segment ends. color The color for the debug drawings.

Implementation

const DebugSignaturePainterCP({
  required this.control,
  this.cp = false,
  this.cpStart = true,
  this.cpEnd = true,
  this.dot = true,
  this.color = Colors.red,
});