HandSignature constructor

HandSignature({
  1. Key? key,
  2. required HandSignatureControl control,
  3. Color color = Colors.black,
  4. double width = 1.0,
  5. double maxWidth = 10.0,
  6. SignatureDrawType type = SignatureDrawType.shape,
  7. VoidCallback? onPointerDown,
  8. VoidCallback? onPointerUp,
  9. Set<PointerDeviceKind>? supportedDevices,
})

Draws Path based on input and stores data in control.

Implementation

HandSignature({
  Key? key,
  required this.control,
  this.color = Colors.black,
  this.width = 1.0,
  this.maxWidth = 10.0,
  this.type = SignatureDrawType.shape,
  this.onPointerDown,
  this.onPointerUp,
  this.supportedDevices,
}) : super(key: key);