Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedefer_pointer

Provides a widget to render and hit‑test children outside their parent bounds.

pub.devRemove
hit

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

pub.devRemove
ScoresHealth5068 (best)
Maintenance155 (best)
Quality8797 (best)
Popularity84 (best)56
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)80k (best)4.7k
Likes158 (best)54
Pub points130 / 160160 / 160 (best)
GitHub stars71 (best)50
MaintenanceLatest release0.0.2, 5 years ago1.2.4, 4 months ago (best)
Major versions in 12 months0 (best)1
Contributors2 (best)1
Publishergskinner.comzennn.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies10 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple API with just two widgets
  • Granular control over which ancestor handles painting and hit‑testing
  • Works on all Flutter platforms
  • 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.
Weaknesses
  • Adds an extra widget layer which may affect performance in very large trees
  • Small ecosystem and limited community support
  • 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.
WarningsNoneNone
defer_pointer vs hit: which Flutter package should you use? | pubscout