updated chatTextfield.dart design and added file and gallery picker

This commit is contained in:
2023-05-06 14:51:11 +02:00
parent cc43a9e081
commit 8d890f1a26
7 changed files with 191 additions and 46 deletions

View File

@ -15,7 +15,7 @@ class ChatBubble {
color: Color(0xffd4eaf4),
borderWidth: 1,
elevation: 2,
margin: BubbleEdges.only(bottom: 15),
margin: BubbleEdges.only(bottom: 20, top: 10),
alignment: Alignment.center,
);
@ -25,7 +25,7 @@ class ChatBubble {
color: seamless ? Colors.transparent : Colors.white,
borderWidth: seamless ? 0 : 1,
elevation: seamless ? 0 : 1,
margin: const BubbleEdges.only(bottom: 15, left: 10, right: 50),
margin: const BubbleEdges.only(bottom: 10, left: 10, right: 50),
alignment: Alignment.topLeft,
);
}
@ -36,7 +36,7 @@ class ChatBubble {
color: seamless ? Colors.transparent : const Color(0xffd9fdd3),
borderWidth: seamless ? 0 : 1,
elevation: seamless ? 0 : 1,
margin: const BubbleEdges.only(bottom: 15, right: 10, left: 50),
margin: const BubbleEdges.only(bottom: 10, right: 10, left: 50),
alignment: Alignment.topRight,
);
}