HandSignaturePaint constructor

const HandSignaturePaint({
  1. Key? key,
  2. required HandSignatureControl control,
  3. Color color = Colors.black,
  4. double strokeWidth = 1.0,
  5. double maxStrokeWidth = 10.0,
  6. SignatureDrawType type = SignatureDrawType.shape,
  7. bool onSize(
    1. Size size
    )?,
})

Draws path based on data from control.

Implementation

const HandSignaturePaint({
  Key? key,
  required this.control,
  this.color = Colors.black,
  this.strokeWidth = 1.0,
  this.maxStrokeWidth = 10.0,
  this.type = SignatureDrawType.shape,
  this.onSize,
}) : super(key: key);