PCanvasWidget constructor

PCanvasWidget(
  1. PCanvasPainter _painter, {
  2. Key? key,
  3. ValueChanged<RawKeyEvent>? onKey,
  4. GestureTapDownCallback? onTapDown,
  5. GestureTapUpCallback? onTapUp,
  6. GestureTapCallback? onTap,
  7. GestureTapCancelCallback? onTapCancel,
})

Implementation

PCanvasWidget(
  this._painter, {
  super.key,
  this.onKey,
  this.onTapDown,
  this.onTapUp,
  this.onTap,
  this.onTapCancel,
});