PencilField constructor
const
PencilField({
- Key? key,
- required PencilFieldController controller,
- required PencilPaint pencilPaint,
- PencilDecoration? decoration,
- OnPencilDrawingChanged? onPencilDrawingChanged,
- bool pencilOnly = false,
Implementation
const PencilField({
super.key,
required this.controller,
required this.pencilPaint,
this.decoration,
this.onPencilDrawingChanged,
this.pencilOnly = false,
});