EasySignaturePad constructor

EasySignaturePad({
  1. Key? key,
  2. required ValueChanged<String> onChanged,
  3. VoidCallback? onClear,
  4. int height = 256,
  5. int width = 400,
  6. Color penColor = Colors.black,
  7. double strokeWidth = 2.0,
  8. double borderRadius = 5,
  9. Color borderColor = Colors.white,
  10. Color backgroundColor = Colors.white,
  11. bool transparentSignaturePad = false,
  12. bool transparentImage = false,
  13. bool hideClearSignatureIcon = false,
  14. Widget? clearSignatureIcon,
  15. 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);