Merge pull request #1483 from GetStream/fix-link-chat-core

Fix link in 05-guides/09-initialize_stream_chat_widget_tree
This commit is contained in:
Rafal Adasiewicz
2023-03-15 09:09:54 +01:00
committed by GitHub
@@ -14,7 +14,7 @@ Before investigating potential solutions, lets first take a look at the relev
Most of the Stream Chat Flutter UI widgets rely on having a [StreamChat](../../customization/stream_chat_and_theming/) ancestor in the widget tree. Most of the Stream Chat Flutter UI widgets rely on having a [StreamChat](../../customization/stream_chat_and_theming/) ancestor in the widget tree.
The **StreamChat** widget is an [InheritedWidget](https://api.flutter.dev/flutter/widgets/InheritedWidget-class.html) that exposes the **StreamChatClient** through **BuildContext**. The **StreamChat** widget is an [InheritedWidget](https://api.flutter.dev/flutter/widgets/InheritedWidget-class.html) that exposes the **StreamChatClient** through **BuildContext**.
This widget also initializes the [StreamChatCore](../../stream_chat_flutter_core/stream_chat_core.mdx) widget and the **StreamChatTheme**. This widget also initializes the [StreamChatCore](../04-stream_chat_flutter_core/stream_chat_core.mdx) widget and the **StreamChatTheme**.
**StreamChatCore** is a **StatefulWidget** used to react to life cycle changes and system updates. **StreamChatCore** is a **StatefulWidget** used to react to life cycle changes and system updates.
When the app goes into the background, the WebSocket connection is closed. When the app goes into the background, the WebSocket connection is closed.