EasySignaturePad constructor
EasySignaturePad({
- Key? key,
- required ValueChanged<
String> onChanged, - VoidCallback? onClear,
- int height = 256,
- int width = 400,
- Color penColor = Colors.black,
- double strokeWidth = 2.0,
- double borderRadius = 5,
- Color borderColor = Colors.white,
- Color backgroundColor = Colors.white,
- bool transparentSignaturePad = false,
- bool transparentImage = false,
- bool hideClearSignatureIcon = false,
- Widget? clearSignatureIcon,
- AlignmentGeometry clearSignatureIconAlignment = Alignment.topRight,
Implementation
EasySignaturePad({
Key? key,
required this.onChanged,
this.onClear,
this.height = 256,
this.width = 400,
this.penColor = Colors.black,
this.strokeWidth = 2.0,
this.borderRadius = 5,
this.borderColor = Colors.white,
this.backgroundColor = Colors.white,
this.transparentSignaturePad = false,
this.transparentImage = false,
this.hideClearSignatureIcon = false,
this.clearSignatureIcon,
this.clearSignatureIconAlignment = Alignment.topRight,
}) : super(key: key);