HandSignature constructor
HandSignature({
- Key? key,
- required HandSignatureControl control,
- Color color = Colors.black,
- double width = 1.0,
- double maxWidth = 10.0,
- SignatureDrawType type = SignatureDrawType.shape,
- VoidCallback? onPointerDown,
- VoidCallback? onPointerUp,
- 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);