feat_sdk 0.1.0
feat_sdk: ^0.1.0 copied to clipboard
Dart and Flutter client for the feat feature-flag platform: sync flag getters, change listeners, live SSE streaming, anonymous contexts, and offline snapshots.
Changelog #
0.1.0 #
Initial release.
FeatClientwith an asyncinitialize()that returns after the first evaluation lands or a configurable timeout elapses.- Synchronous getters:
getBool,getString,getNumber,getObject, andgetDetail. setContext()re-polls and reconnects the stream against the new context.- Per-flag change notifications via the
changesbroadcast stream. - Live updates over Server-Sent Events, following the change subscription by default, with polling as a safety net and version-gated snapshot/patch handling.
- Anonymous context minting with pluggable persistence.
- Offline snapshot persistence served on next start before the network responds.
- App lifecycle hooks (
pause,resume,handleAppLifecycleState) to suspend live updates while backgrounded.