fixed bugs relating to ui and duplicating conversations.
This commit is contained in:
@@ -8,10 +8,13 @@ class ChatBubbleWidget extends StatelessWidget{
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
double max_width = MediaQuery.of(context).size.width*0.65;
|
||||
|
||||
return Row(
|
||||
mainAxisAlignment: c.role ? MainAxisAlignment.end : MainAxisAlignment.start,
|
||||
children: [
|
||||
Container(
|
||||
width: max_width,
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
margin: const EdgeInsets.all(8.0),
|
||||
decoration: BoxDecoration(
|
||||
|
||||
Reference in New Issue
Block a user