EasySignaturePad constructor

EasySignaturePad({
  1. Key? key,
  2. required ValueChanged<String> onChanged,
  3. int height = 256,
  4. int width = 400,
  5. Color penColor = Colors.black,
  6. double strokeWidth = 2.0,
  7. double borderRadius = 5,
  8. Color borderColor = Colors.white,
  9. Color backgroundColor = Colors.white,
  10. bool transparentSignaturePad = false,
  11. bool transparentImage = false,
  12. bool hideClearSignatureIcon = false,
})

Implementation

EasySignaturePad({
  Key? key,
  required this.onChanged,
  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,
}) : super(key: key);