simplified code across the app and consolidated duplicated helpers

This commit is contained in:
2026-09-27 17:29:54 +02:00
parent 3e856d0b1c
commit ee1240f71a
155 changed files with 1772 additions and 2546 deletions
@@ -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,
);
}