NiceSignaturePad constructor

const NiceSignaturePad({
  1. Key? key,
  2. void onChanged(
    1. Image?
    )?,
  3. Color penColor = Colors.black,
  4. double penWidth = 2.0,
  5. Color backgroundColor = Colors.white,
  6. double height = 200,
  7. String? clearButtonText,
  8. bool showClearButton = true,
  9. BorderRadius? borderRadius,
})

Implementation

const NiceSignaturePad({
  super.key,
  this.onChanged,
  this.penColor = Colors.black,
  this.penWidth = 2.0,
  this.backgroundColor = Colors.white,
  this.height = 200,
  this.clearButtonText,
  this.showClearButton = true,
  this.borderRadius,
});