NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2416 most downloaded on pub.dev
Efficient handling of server-sent event streams with easy connectivity and data management.
Last release 13 days ago
25 Sep 2026
Ships unpredictably
gaps range from 1 weeks to 12 months
Some releases are documented
notes for 20 of 37 stable releases
3 versions withdrawn
withdrawn after publishing
3 years old
46 releases · first in 2023
First stable EventFlux v3 release, including the disconnect fix previously available in 3.0.2-dev .
First stable EventFlux v3 release, including the disconnect fix previously available in 3.0.2-dev.
Bad state: Cannot add event after closing during disconnect by guarding event delivery and clearing the controller reference before closing it (#47).WebConfig and fetch_client.Last-Event-ID, server retry: support, and event filtering.maxBackoff, plus retryable HTTP error classification.EventFluxStatus.reconnecting and original error/stack-trace details.eventflux-usage agent skill, AI-assisted installation guidance, and package architecture documentation.onReconnect now receives (int attempt, Duration delay).WebConfig.3.4.0; minimum Flutter SDK is 3.0.0.Cache-Control: no-store; browsers use WebConfig.cache.flutter pub add 'eventflux:^3.0.2'To install the bundled agent skill (skills CLI requires Dart 3.10 or later):
dart run skills@ get -p eventfluxThanks to Peter Trost, Felippe, Michał Król, and everyone listed in the contributor credits.
One column per month.
First stable v3 release.
onReconnect callback signature changed from () to (int attempt, Duration delay)Cache-Control: no-store on native platforms; browsers use WebConfig.cache instead>=3.4.0, Flutter >=3.0.0webConfig is now required when running on webeventflux-usage agent skill for app integration, connection lifecycle, and v2 migration guidanceWebConfig and fetch_client
SseParser) with persistent lastEventId, retry: field support, trailing newline stripping, and NULL character checkEventFluxInterceptorabortTrigger parameterconnectionTimeout on ReconnectConfigmaxBackoff duration cap for exponential backoffEventFluxStatus.reconnecting status valueoriginalError and stackTrace fields on EventFluxException
EventFluxResponse.where(eventType)Bad state: Cannot add event after closing during disconnect by guarding event delivery and clearing the controller reference before closing it (#47).webConfig now passed correctly)Nothing published for this version
Nothing published for this version
Nothing published for this version
This release adds web support 🚀
This release adds web support 🚀
webConfig parameter to the connect method.
Nothing published for this version
Potential fix for multiple connection issue when using single instance method
Nothing published for this version
Now you can send multipart/files data to the server.
Reconnect headers are now async. You can use async functions to fetch new headers, but make sure to return a Map from the function.
Map<String, String> from the function.The onError method now includes the JSON response from the backend in the error message, if the backend sends a JSON response to the frontend.
onError method now includes the JSON response from the backend in the error message, if the backend sends a JSON response to the frontend.Added reconnectHeaders parameter in ReconnectConfig class.
reconnectHeaders parameter in ReconnectConfig class.
1.2.2Ensures continuous connection even when network availability changes. (Again, I know, I know 🥹)
Nothing published for this version
Ensures continuous connection even when network availability changes.
Added ReconnectConfig class to manage reconnection settings.
ReconnectConfig class to manage reconnection settings.
autoReconnect parameter in connect method, reconnectConfig param is required.Disposing the instance of stream when disconnect method is called.
disconnect method is called.onSuccessCallback should not be called unless 200 is returnedonError method not getting triggered for non 200 status codes.
onError method not getting triggered for non 200 status codes.Nothing published for this version
Nothing published for this version
Updated Http package version to 1.2.1
1.2.1Disabled web support due to dependancy issue.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your existing code now flawlessly extends its magic to the web – no extra setup required, just pure, uninterrupted functionality across platforms!
Readme's EventFlux for Every Scenario Section
EventFlux for Every Scenario SectionProvides users the flexibility to implement multiple SSE connections.
spwan method
Nothing published for this version
Nothing published for this version
Retry doesn't use provided headers.
Updated the connect method to be a void function instead of returning EventFluxResponse. This change accompanies the introduction of the onSuccessCall
connect method to be a void function instead of returning EventFluxResponse. This change accompanies the introduction of the onSuccessCallback parameter, which provides the EventFluxResponse via callback. This modification simplifies the connection process, making reconnections and stream updates more predictable and manageable.Nothing published for this version
If the connection is intentionaly severed/disconnected by calling disconnet() method, then the autoReconnect will not try to reconnect the connection
disconnet() method, then the autoReconnect will not try to reconnect the connection again and again.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
support for autoReconnect on connect method.
autoReconnect on connect method.Nothing published for this version
Core functionality for connecting to server-sent event streams.
EventFlux class to manage event stream connections.EventFluxData class for representing event data.EventFluxException class for handling exceptions.Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →