NiceSignatureDisplay constructor

const NiceSignatureDisplay({
  1. Key? key,
  2. double width = double.infinity,
  3. double height = 200,
  4. Color strokeColor = Colors.black,
  5. double strokeWidth = 2.0,
  6. Color backgroundColor = Colors.white,
  7. String? label,
  8. void onSave(
    1. List<List<Offset>> strokes
    )?,
  9. VoidCallback? onClear,
  10. bool showToolbar = true,
})

Implementation

const NiceSignatureDisplay({
  super.key,
  this.width = double.infinity,
  this.height = 200,
  this.strokeColor = Colors.black,
  this.strokeWidth = 2.0,
  this.backgroundColor = Colors.white,
  this.label,
  this.onSave,
  this.onClear,
  this.showToolbar = true,
});