Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehit

Decouple Flutter layout size from hit-test size to deliver taps outside parent bounds.

pub.devRemove
lazy_wrap

A Flutter widget for lazy Wrap-style layouts with fixed or variable item sizes.

pub.devRemove
ScoresHealth6872 (best)
Maintenance5590 (best)
Quality9797
Popularity56 (best)23
Community4141
Compatibility100100
UsageDownloads (30 days)4.7k (best)813
Likes54 (best)21
Pub points160 / 160160 / 160
GitHub stars50 (best)5
MaintenanceLatest release1.2.4, 4 months ago1.1.3, 3 weeks ago (best)
Major versions in 12 months11
Contributors11
Publisherzennn.devhensell.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Enables precise separation of paint/layout bounds from hit-test bounds.
  • Includes a built-in Dart DevTools extension for inspecting hit scopes and debugging missed taps.
  • Supports slivers via SliverHitScope for custom scroll views.
  • Supports both fixed and dynamic item sizes.
  • Improves performance over eager building for large collections of wrap items.
  • Offers offstage measurement and optional fade-in animations for dynamic items.
Weaknesses
  • Deferred hit-testing is O(n) over registered targets on a scope, meaning large numbers of targets can affect performance.
  • Requires careful scope placement so that the HitScope's layout box actually covers the expanded hit area.
  • Dynamic mode requires offstage measurement passes or experimental sliver implementations.
  • Changing layout revisions can reset the internal scroll position if using the internal controller.
WarningsNoneNone
hit vs lazy_wrap: which Flutter package should you use? | pubscout