chore: Follow up input bar design

This commit is contained in:
Krille 2024-03-26 09:15:00 +01:00
commit ed2a1af46c
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 27 additions and 21 deletions

View file

@ -284,18 +284,13 @@ class ChatView extends StatelessWidget {
alignment: Alignment.center,
child: Material(
clipBehavior: Clip.hardEdge,
color: Theme.of(context).brightness ==
Brightness.light
? Colors.white.withOpacity(0.95)
: Colors.black.withOpacity(0.87),
color: Theme.of(context)
.colorScheme
.surface
.withOpacity(0.9),
shape: RoundedRectangleBorder(
borderRadius: const BorderRadius.only(
bottomLeft: Radius.circular(
AppConfig.borderRadius,
),
bottomRight: Radius.circular(
AppConfig.borderRadius,
),
borderRadius: const BorderRadius.all(
Radius.circular(AppConfig.borderRadius * 2),
),
side: BorderSide(
color: Theme.of(context).dividerColor,