fix send button and readme
This commit is contained in:
@@ -30,6 +30,8 @@ This repo contains projects and samples developed by the team and Stream communi
|
|||||||
|
|
||||||
- [Stream Chat v1](https://github.com/GetStream/flutter-samples/tree/main/stream_chat_v1): a sample app implemented using Stream Chat and Flutter. It is a fully fledged messaging app built using a combination of our pre-made widgets and custom Flutter widgets.
|
- [Stream Chat v1](https://github.com/GetStream/flutter-samples/tree/main/stream_chat_v1): a sample app implemented using Stream Chat and Flutter. It is a fully fledged messaging app built using a combination of our pre-made widgets and custom Flutter widgets.
|
||||||
|
|
||||||
|
- [iMessage clone](https://github.com/GetStream/flutter-samples/tree/main/imessage): an iMessage clone implemented using Flutter and the `stream_chat_flutter_core` package.
|
||||||
|
|
||||||
## Requirements 🛠
|
## Requirements 🛠
|
||||||
|
|
||||||
Before running this project please ensure Flutter is installed and configured on your machine. If you're new to Flutter, please checkout the [official guide](https://flutter.dev/docs/get-started/install) with installation instructions for your OS.
|
Before running this project please ensure Flutter is installed and configured on your machine. If you're new to Flutter, please checkout the [official guide](https://flutter.dev/docs/get-started/install) with installation instructions for your OS.
|
||||||
|
|||||||
@@ -81,11 +81,11 @@ class _MessageInputState extends State<MessageInput> {
|
|||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: textController.text.isNotEmpty
|
child: Icon(
|
||||||
? Icon(CupertinoIcons.arrow_up_circle_fill,
|
CupertinoIcons.arrow_up_circle_fill,
|
||||||
color: CupertinoColors.activeGreen, size: 35)
|
color: CupertinoColors.activeGreen,
|
||||||
: Icon(CupertinoIcons.exclamationmark_circle_fill,
|
size: 35,
|
||||||
color: CupertinoColors.systemRed, size: 35),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
|
|||||||
@@ -24,12 +24,7 @@ dependencies:
|
|||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
intl: ^0.16.1
|
intl: ^0.16.1
|
||||||
#stream_chat_flutter: ^1.2.0-beta
|
stream_chat_flutter: ^1.3.0-beta
|
||||||
stream_chat_flutter:
|
|
||||||
git:
|
|
||||||
url: git://github.com/GetStream/stream-chat-flutter.git
|
|
||||||
path: packages/stream_chat_flutter
|
|
||||||
ref: develop
|
|
||||||
animations: ^1.0.0+5
|
animations: ^1.0.0+5
|
||||||
collection: ^1.14.13
|
collection: ^1.14.13
|
||||||
cached_network_image: ^2.0.0-rc
|
cached_network_image: ^2.0.0-rc
|
||||||
|
|||||||
Reference in New Issue
Block a user