SignatureController constructor

SignatureController({
  1. required Color penColor,
  2. double strokeWidth = 2.0,
  3. Color? exportPenColor,
  4. Color? exportBackgroundColor,
})

Implementation

SignatureController({
  required this.penColor,
  this.strokeWidth = 2.0,
  Color? exportPenColor,
  Color? exportBackgroundColor,
}) : exportPenColor = exportPenColor ?? Colors.black,
     exportBackgroundColor = exportBackgroundColor ?? Colors.white;