Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefocus_detector

Detects when your widget appears or disappears from the screen.

pub.devRemove
tap_canvas

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

pub.devRemove
ScoresHealth50 (best)44
Maintenance00
Quality8796 (best)
Popularity87 (best)13
Community4646
Compatibility100100
UsageDownloads (30 days)29k (best)431
Likes362 (best)14
Pub points130 / 160150 / 160 (best)
GitHub stars99 (best)8
MaintenanceLatest release2.0.1, 5 years ago0.9.5, 4 years ago (best)
Major versions in 12 months00
Contributors22
Publisheredsonbueno.comidiomaticbytes.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple widget-based integration.
  • Handles both visibility changes and app foreground/background transitions.
  • Cross-platform support.
  • Simple API for outside tap detection
  • Full code coverage
Weaknesses
  • Relies on visibility_detector under the hood, which inherits its performance characteristics.
  • No longer maintained and officially deprecated
  • Rendered pointless by Flutter framework's TapRegion
WarningsNoneNone
focus_detector vs tap_canvas: which Flutter package should you use? | pubscout