Skip to content

Commit 7693db6

Browse files
committed
Working online status
1 parent 75d05a2 commit 7693db6

File tree

4 files changed

+30
-4
lines changed

4 files changed

+30
-4
lines changed

.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Flutter",
9+
"request": "launch",
10+
"type": "dart"
11+
}
12+
]
13+
}

android/settings_aar.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ':app'

lib/src/page/chat_page.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,9 @@ class _ChatState extends State<ChatPage> {
125125
return Divider(color: Colors.grey, height: 1.0);
126126
},
127127
itemCount: state.messages.length,
128-
itemBuilder: (ctx, index) =>
129-
ChatBubble(
130-
message: reversed.elementAt(index),
131-
),
128+
itemBuilder: (ctx, index) => ChatBubble(
129+
message: reversed.elementAt(index),
130+
),
132131
controller: scrollController,
133132
padding: EdgeInsets.symmetric(horizontal: 10),
134133
);

lib/src/page/rooms_page.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'package:flutter/material.dart';
2+
3+
class RoomListPage extends StatefulWidget {
4+
@override
5+
State<StatefulWidget> createState() => _RoomListState();
6+
}
7+
8+
class _RoomListState extends State<RoomListPage> {
9+
@override
10+
Widget build(BuildContext context) {
11+
return null;
12+
}
13+
}

0 commit comments

Comments
 (0)