widgets/connection_banner library

Classes

ChatConnectionBanner
Watches RoomManager connectivity + pending queue and rebuilds when either changes. Pass a builder to render your own banner UI; or use the default banner via ChatConnectionBanner.defaultBuilder.

Enums

ChatConnectionState
Connection state for banner rendering.

Typedefs

ChatConnectionBannerBuilder = Widget Function(BuildContext context, ChatConnectionState state, int pendingCount)
Builder for the connection banner. Receives the current state and queued message count so apps can render their own design.