From dd323bcd8a95ebad2cfbd335976d1dc797c926ef Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 24 Feb 2020 11:46:35 +0100 Subject: [PATCH] add main components --- .flutter-plugins | 9 + .flutter-plugins-dependencies | 1 + .idea/codeStyles/Project.xml | 116 +++++++ .idea/libraries/Dart_Packages.xml | 452 ++++++++++++++++++++++++++++ .idea/libraries/Dart_SDK.xml | 29 ++ .idea/libraries/Flutter_Plugins.xml | 16 + .idea/modules.xml | 8 + .idea/stream-chat-flutter.iml | 16 + .idea/vcs.xml | 6 + .idea/workspace.xml | 361 ++++++++++++++++++++++ CHANGELOG.md | 2 + README.md | 2 +- lib/src/message_list_view.dart | 283 +++++++++++++++++ lib/src/message_widget.dart | 351 +++++++++++++++++++++ lib/src/stream_channel.dart | 99 ++++++ lib/src/stream_chat.dart | 120 ++++++++ lib/src/user_avatar.dart | 29 ++ lib/stream_chat_flutter.dart | 5 + pubspec.yaml | 26 ++ 19 files changed, 1930 insertions(+), 1 deletion(-) create mode 100644 .flutter-plugins create mode 100644 .flutter-plugins-dependencies create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/libraries/Dart_Packages.xml create mode 100644 .idea/libraries/Dart_SDK.xml create mode 100644 .idea/libraries/Flutter_Plugins.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/stream-chat-flutter.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 lib/src/message_list_view.dart create mode 100644 lib/src/message_widget.dart create mode 100644 lib/src/stream_channel.dart create mode 100644 lib/src/stream_chat.dart create mode 100644 lib/src/user_avatar.dart create mode 100644 lib/stream_chat_flutter.dart create mode 100644 pubspec.yaml diff --git a/.flutter-plugins b/.flutter-plugins new file mode 100644 index 00000000..25fdba30 --- /dev/null +++ b/.flutter-plugins @@ -0,0 +1,9 @@ +# This is a generated file; do not edit or check into version control. +path_provider=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.1/ +screen=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/screen-0.0.5/ +sqflite=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.2.1/ +url_launcher=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/ +url_launcher_macos=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/ +url_launcher_web=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/ +video_player=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/ +video_player_web=/Users/salvatoregiordano/Development/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/ diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies new file mode 100644 index 00000000..c8053162 --- /dev/null +++ b/.flutter-plugins-dependencies @@ -0,0 +1 @@ +{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"path_provider","dependencies":[]},{"name":"screen","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_macos"]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"video_player","dependencies":["video_player_web"]},{"name":"video_player_web","dependencies":[]}]} \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..681f41ae --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,116 @@ + + + + + + + +
+ + + + xmlns:android + + ^$ + + + +
+
+ + + + xmlns:.* + + ^$ + + + BY_NAME + +
+
+ + + + .*:id + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + .*:name + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + name + + ^$ + + + +
+
+ + + + style + + ^$ + + + +
+
+ + + + .* + + ^$ + + + BY_NAME + +
+
+ + + + .* + + http://schemas.android.com/apk/res/android + + + ANDROID_ATTRIBUTE_ORDER + +
+
+ + + + .* + + .* + + + BY_NAME + +
+
+
+
+
+
\ No newline at end of file diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml new file mode 100644 index 00000000..13cf87ee --- /dev/null +++ b/.idea/libraries/Dart_Packages.xml @@ -0,0 +1,452 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml new file mode 100644 index 00000000..41443ebd --- /dev/null +++ b/.idea/libraries/Dart_SDK.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml new file mode 100644 index 00000000..1b261293 --- /dev/null +++ b/.idea/libraries/Flutter_Plugins.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..4db1dd48 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/stream-chat-flutter.iml b/.idea/stream-chat-flutter.iml new file mode 100644 index 00000000..d3275515 --- /dev/null +++ b/.idea/stream-chat-flutter.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..39b44ea0 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,361 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + channelsStream + _channelsController + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +