add lottie animation for typing indicator

This commit is contained in:
Salvatore Giordano
2020-11-25 12:25:43 +01:00
parent 9fd7a6a7f8
commit 24c5e39bda
5 changed files with 26 additions and 26 deletions
+6 -21
View File
@@ -227,27 +227,12 @@ class ChannelPage extends StatelessWidget {
body: Column(
children: <Widget>[
Expanded(
child: Stack(
children: <Widget>[
MessageListView(
threadBuilder: (_, parentMessage) {
return ThreadPage(
parent: parentMessage,
);
},
),
Positioned.fill(
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 8.0,
vertical: 4,
),
child: TypingIndicator(
alignment: Alignment.bottomRight,
),
),
),
],
child: MessageListView(
threadBuilder: (_, parentMessage) {
return ThreadPage(
parent: parentMessage,
);
},
),
),
MessageInput(),