Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemeasure_size

Widget that reports its size changes via a callback.

pub.devRemove
tap_canvas

Detect taps outside the currently defined widget and provide a callback.

pub.devRemove
ScoresHealth58 (best)44
Maintenance18 (best)0
Quality9396 (best)
Popularity63 (best)13
Community4146 (best)
Compatibility100100
UsageDownloads (30 days)16k (best)431
Likes40 (best)14
Pub points150 / 160150 / 160
GitHub stars38 (best)
MaintenanceLatest release5.0.2, 11 months ago (best)0.9.5, 4 years ago
Major versions in 12 months10 (best)
Contributors12 (best)
Publisherqrl.appidiomaticbytes.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Low overhead size detection
  • Simple API with just a child and onChange callback
  • MeasureSizeBuilder can handle multiple widgets efficiently
  • Simple API for outside tap detection
  • Full code coverage
Weaknesses
  • Does not work with PreferredSizeWidget on the first frame
  • Only provides size after layout, not during build
  • No longer maintained and officially deprecated
  • Rendered pointless by Flutter framework's TapRegion
WarningsNoneNone
measure_size vs tap_canvas: which Flutter package should you use? | pubscout