HandSignaturePaint constructor
const
HandSignaturePaint({
- Key? key,
- required HandSignatureControl control,
- Color color = Colors.black,
- double strokeWidth = 1.0,
- double maxStrokeWidth = 10.0,
- SignatureDrawType type = SignatureDrawType.shape,
- bool onSize(
- 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);