nudge 0.1.0
nudge: ^0.1.0 copied to clipboard
A local-first nudge engine for Flutter. Log behavioural events on device, describe conditions with a fluent DSL and fire rate prompts, upsells and tips at the right moment, with cooldowns, caps, outco [...]
0.1.0 #
- First release.
- Event logging with typed metadata, sessions following the app lifecycle and lifetime stats that survive log rotation.
- Condition DSL: counts, attribute filters and aggregates, distinct sessions, active days, streaks,
recency and inactivity, app-wide metrics, loose funnels with windows and drop-off, logical
composition and
explain(). - Nudges: definitions with cooldowns, caps, once per session, group policies, priorities,
outcome-based policies and chaining;
checkpoint(),fire()and thefires/outcomesstreams. - Widgets:
NudgeBuilder,NudgeListenerandNudgeFireListener. - ObjectBox storage,
InMemoryNudgeStorageand an injectable clock for tests.