HandSignaturePaint constructor

const HandSignaturePaint({
  1. Key? key,
  2. required HandSignatureControl control,
  3. required HandSignatureDrawer drawer,
  4. bool onSize(
    1. 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);