pencil_field library

Classes

PencilDecoration
PencilDisplay
PencilDrawing
Store a list of paths that belong together
PencilField
PencilFieldController
PencilImage
Return the drawing as an image in different format
PencilPaint
PencilStroke

Enums

PencilDecorationType
PencilMode
The pencil can work in two different modes, either draw something or erase

Typedefs

OnPencilDrawingChanged = void Function(PencilDrawing pencilDrawing)
PencilDecorationCustomPainter = void Function({required Canvas canvas, required PencilDecoration decoration, required double height, required Paint paint, required Size size, required double width, required double xStart, required double yStart})
A custom painter in case a special pattern is needed.
PencilDecorationPaintProvider = Paint? Function(int row, int column, Paint paint)
A custom provider for the paint to be used. The returned paint will be used to draw the next element. In case null is returned the element is not painted.