27 lines
455 B
Plaintext
27 lines
455 B
Plaintext
---
|
|
id: setup
|
|
sidebar_position: 2
|
|
title: Setup
|
|
---
|
|
|
|
Understanding Setup For stream_chat_flutter
|
|
|
|
### Add pub.dev dependency
|
|
|
|
First, you need to add the `stream_chat_flutter` dependency to your pubspec.yaml
|
|
|
|
You can either run this command:
|
|
|
|
```
|
|
flutter pub add stream_chat_flutter
|
|
```
|
|
|
|
OR
|
|
|
|
Add this line in the dependencies section of your pubspec.yaml after substituting latest version:
|
|
|
|
```
|
|
dependencies:
|
|
stream_chat_flutter_core: ^latest_version
|
|
```
|