simplified code across the app and consolidated duplicated helpers
This commit is contained in:
@@ -20,7 +20,7 @@ class ChatBubbleStyles {
|
||||
? const Color(0xff182229)
|
||||
: Colors.white,
|
||||
elevation: 2,
|
||||
margin: const BubbleEdges.only(bottom: 20, top: 10),
|
||||
margin: const EdgeInsets.only(bottom: 20, top: 10),
|
||||
alignment: Alignment.center,
|
||||
);
|
||||
|
||||
@@ -30,7 +30,7 @@ class ChatBubbleStyles {
|
||||
? const Color(0xff202c33)
|
||||
: Colors.white,
|
||||
elevation: 1,
|
||||
margin: const BubbleEdges.only(bottom: 10, left: 10, right: 50),
|
||||
margin: const EdgeInsets.only(bottom: 10, left: 10, right: 50),
|
||||
alignment: Alignment.topLeft,
|
||||
);
|
||||
|
||||
@@ -40,7 +40,7 @@ class ChatBubbleStyles {
|
||||
? const Color(0xff005c4b)
|
||||
: const Color(0xffd3d3d3),
|
||||
elevation: 1,
|
||||
margin: const BubbleEdges.only(bottom: 10, right: 10, left: 50),
|
||||
margin: const EdgeInsets.only(bottom: 10, right: 10, left: 50),
|
||||
alignment: Alignment.topRight,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user