ChatConnectionBannerBuilder typedef

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.

Implementation

typedef ChatConnectionBannerBuilder =
    Widget Function(
      BuildContext context,
      ChatConnectionState state,
      int pendingCount,
    );