PathSignaturePainter constructor

const PathSignaturePainter({
  1. required List<CubicPath> paths,
  2. required HandSignatureDrawer drawer,
  3. bool onSize(
    1. Size size
    )?,
})

Creates a PathSignaturePainter.

paths The list of signature paths to draw. drawer The drawer that will perform the actual painting. onSize An optional callback for canvas size changes.

Implementation

const PathSignaturePainter({
  required this.paths,
  required this.drawer,
  this.onSize,
});