HandSignaturePaint constructor
const
HandSignaturePaint({
- Key? key,
- required HandSignatureControl control,
- required HandSignatureDrawer drawer,
- bool onSize(
- Size size
Creates a HandSignaturePaint widget.
key
Controls how one widget replaces another widget in the tree.
control
The HandSignatureControl instance that provides the signature data.
drawer
The HandSignatureDrawer instance that defines how the signature is painted.
onSize
An optional callback for canvas size changes.
Implementation
const HandSignaturePaint({
Key? key,
required this.control,
required this.drawer,
this.onSize,
}) : super(key: key);