Skip to main content

analytics_hub_flutter 0.6.1 copy "analytics_hub_flutter: ^0.6.1" to clipboard
analytics_hub_flutter: ^0.6.1 copied to clipboard

Flutter widgets for analytics_hub. Puts an AnalyticsScope on the widget tree and sends impression events.

0.6.1 - 2026-10-09 #

Added #

  • AnalyticsScopeProvider.read(context): the nearest sink without registering a dependency, for initState, BlocProvider.create and callbacks.

0.6.0 - 2026-10-08 #

Added #

  • AnalyticsScopeProvider: puts an AnalyticsScope on the widget tree. of(context) returns the nearest AnalyticsSink (the hub under .root, a ScopedAnalytics under a scope), maybeOf(context) the same or null when there is no provider; scopeOf(context) the nearest AnalyticsScope. Built on InheritedTheme, so showDialog, showModalBottomSheet, menus and other overlays see the scope of the context they were opened from.
  • AnalyticsImpression: sends one event through the nearest sink when its subtree first reaches visibleFraction (default 0.5), once per State lifetime — a lazy list that disposes the item re-sends when it is rebuilt.
0
likes
160
points
242
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter widgets for analytics_hub. Puts an AnalyticsScope on the widget tree and sends impression events.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

analytics_hub, flutter, visibility_detector

More

Packages that depend on analytics_hub_flutter