Signature constructor

Signature({
  1. Color color = Colors.black,
  2. double strokeWidth = 5.0,
  3. CustomPainter? backgroundPainter,
  4. Function? onSign,
  5. Key? key,
})

Implementation

Signature({
  this.color = Colors.black,
  this.strokeWidth = 5.0,
  this.backgroundPainter,
  this.onSign,
  Key? key,
}) : super(key: key);