Fixed some visuals

This commit is contained in:
2023-09-05 22:54:40 +02:00
parent e378f8165f
commit d63958574b
15 changed files with 327 additions and 265 deletions

View File

@ -105,27 +105,36 @@ class _ChatTextfieldState extends State<ChatTextfield> {
);
});
},
child: Container(
height: 30,
width: 30,
decoration: BoxDecoration(
color: Theme.of(context).primaryColor,
child: Material(
elevation: 5,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30),
),
child: const Icon(Icons.add, color: Colors.white, size: 20, ),
),
child: Container(
height: 30,
width: 30,
decoration: BoxDecoration(
color: Theme.of(context).primaryColor,
borderRadius: BorderRadius.circular(30),
),
child: const Icon(Icons.add, color: Colors.white, size: 20, ),
),
)
),
const SizedBox(width: 15),
Expanded(
child: TextField(
style: const TextStyle(
color: Colors.white,
),
controller: _textBoxController,
readOnly: sending,
maxLines: 7,
minLines: 1,
decoration: InputDecoration(
hintText: "Nachricht schreiben...",
hintStyle: TextStyle(color: Theme.of(context).colorScheme.onSecondary),
border: InputBorder.none
hintText: "Nachricht schreiben...",
hintStyle: TextStyle(color: Theme.of(context).colorScheme.onSecondary),
border: InputBorder.none,
),
),
),
@ -146,7 +155,7 @@ class _ChatTextfieldState extends State<ChatTextfield> {
});
},
backgroundColor: Theme.of(context).primaryColor,
elevation: 0,
elevation: 5,
child: const Icon(Icons.send, color: Colors.white, size: 18),
),
],