Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepatterns_canvas

Draw patterns like stripes, dots, or checkers on Canvas elements or widgets in Flutter.

pub.devRemove
touchable

Add gesture callbacks and interactivity to shapes drawn inside a Flutter CustomPainter canvas.

pub.devRemove
ScoresHealth64 (best)50
Maintenance28 (best)0
Quality96 (best)87
Popularity7779 (best)
Community41 (best)17
Compatibility100100
UsageDownloads (30 days)22k (best)13k
Likes116232 (best)
Pub points150 / 160 (best)130 / 160
GitHub stars22235 (best)
MaintenanceLatest release0.6.0, 8 months ago (best)1.0.2, 5 years ago
Major versions in 12 months00
Contributors13 (best)
Publisherwhidev.comUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITMPL-2.0
Setup effortLowLow
JudgementStrengths
  • Provides a variety of built-in pattern types like dots, crosshatch, and checkers.
  • Flexible painting methods to draw on paths, rects, circles, canvases, and widgets.
  • Supports custom feature counts and scale behaviors.
  • Supports multiple gesture callbacks per shape
  • Automatically handles paint style, stroke width, and clipping modes
  • Simple and intuitive API utilizing CanvasTouchDetector and TouchyCanvas
Weaknesses
  • Limited to the specific built-in patterns provided by the library.
  • Requires using CustomPainter and canvas operations.
  • Custom Path hit testing is currently limited to opaque hit test behavior
  • Missing support for translation, rotation, scaling, and skewing transformations
  • Not running touch detection in a separate isolate yet
WarningsNone
  • File-level copyleft
patterns_canvas vs touchable: which Flutter package should you use? | pubscout