PencilField constructor

const PencilField({
  1. Key? key,
  2. required PencilFieldController controller,
  3. required PencilPaint pencilPaint,
  4. PencilDecoration? decoration,
  5. OnPencilDrawingChanged? onPencilDrawingChanged,
  6. bool pencilOnly = false,
})

Implementation

const PencilField({
  super.key,
  required this.controller,
  required this.pencilPaint,
  this.decoration,
  this.onPencilDrawingChanged,
  this.pencilOnly = false,
});