StreamChat constructor
const
StreamChat({
- Key? key,
- required StreamChatClient client,
- required Widget? child,
- StreamChatThemeData? streamChatThemeData,
- EventHandler? onBackgroundEventReceived,
- Duration backgroundKeepAlive = const Duration(minutes: 1),
- Stream<
ConnectivityResult> ? connectivityStream,
Constructor for creating a StreamChat widget
Implementation
const StreamChat({
super.key,
required this.client,
required this.child,
this.streamChatThemeData,
this.onBackgroundEventReceived,
this.backgroundKeepAlive = const Duration(minutes: 1),
this.connectivityStream,
});