painter
2.0.0, released 5 years ago by eric-prokop-und-nils-wieler.de
A simple flutter widget to paint with your fingers, supporting colors, undo, and export to PNG.
WASM-ready
What it does
A simple flutter widget to paint with your fingers. It supports setting a background color, undo, and export to png.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a basic drawing canvas widget in your app.
- Users need to draw with their fingers and export the drawing as a PNG.
Skip it when
- You need advanced image editing or multi-layer graphics software.
- You need complex vector path manipulation.
Strengths
- Supports undo and erase mode
- Can export paintings as PNG
- Allows checking if anything was drawn using PainterController.isEmpty
Weaknesses
- After calling finish() on a PainterController you can't draw on this painting any more
- Limited feature set beyond basic finger painting
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
PainterController controller = PainterController();
// Use Painter(controller) inside your widget treeAlternatives
Packages that do the same job and could replace painter.
- flutter_painter
A Flutter widget for drawing scribbles, text, shapes and images on a canvas.
74Compare - gradient_circular_progress_indicator
A customizable circular progress widget with gradient progress value color.
50Compare - flutter_chess_board
A chess board widget for Flutter with PGN, FEN, and SAN support.
49Compare - shadow_overlay
Applies a gradient shadow overlay to images or widgets.
48Compare