SignatureController constructor

SignatureController({
  1. List<Point>? points,
  2. Color penColor = Colors.black,
  3. double penStrokeWidth = 3.0,
  4. Color? exportBackgroundColor,
  5. VoidCallback? onDrawStart,
  6. VoidCallback? onDrawMove,
  7. VoidCallback? onDrawEnd,
  8. double mosaicWidth = 5.0,
})

constructor

Implementation

SignatureController({
  List<Point>? points,
  this.penColor = Colors.black,
  this.penStrokeWidth = 3.0,
  this.exportBackgroundColor,
  this.onDrawStart,
  this.onDrawMove,
  this.onDrawEnd,
  this.mosaicWidth = 5.0
}) : super(points ?? <Point>[]);