mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-21 16:50:41 +01:00
chore: Follow up appbar design
This commit is contained in:
parent
f39213ca9b
commit
b50355f33e
@ -254,10 +254,11 @@ class ChatView extends StatelessWidget {
|
|||||||
bottomRight:
|
bottomRight:
|
||||||
Radius.circular(AppConfig.borderRadius),
|
Radius.circular(AppConfig.borderRadius),
|
||||||
),
|
),
|
||||||
elevation: 6,
|
elevation: 4,
|
||||||
shadowColor: Theme.of(context)
|
shadowColor: Theme.of(context)
|
||||||
.dividerColor
|
.colorScheme
|
||||||
.withAlpha(100),
|
.onBackground
|
||||||
|
.withAlpha(64),
|
||||||
clipBehavior: Clip.hardEdge,
|
clipBehavior: Clip.hardEdge,
|
||||||
color: Theme.of(context).brightness ==
|
color: Theme.of(context).brightness ==
|
||||||
Brightness.light
|
Brightness.light
|
||||||
|
@ -172,9 +172,9 @@ class Message extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.only(left: 8),
|
padding: const EdgeInsets.only(left: 8),
|
||||||
child: Material(
|
child: Material(
|
||||||
color: noBubble ? Colors.transparent : color,
|
color: noBubble ? Colors.transparent : color,
|
||||||
elevation: event.type == EventTypes.Sticker ? 0 : 6,
|
elevation: event.type == EventTypes.Sticker ? 0 : 4,
|
||||||
shadowColor:
|
shadowColor:
|
||||||
Theme.of(context).secondaryHeaderColor.withAlpha(100),
|
Theme.of(context).colorScheme.onBackground.withAlpha(64),
|
||||||
borderRadius: borderRadius,
|
borderRadius: borderRadius,
|
||||||
clipBehavior: Clip.antiAlias,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
|
@ -46,8 +46,9 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
topLeft: Radius.circular(AppConfig.borderRadius),
|
topLeft: Radius.circular(AppConfig.borderRadius),
|
||||||
topRight: Radius.circular(AppConfig.borderRadius),
|
topRight: Radius.circular(AppConfig.borderRadius),
|
||||||
),
|
),
|
||||||
elevation: 6,
|
elevation: 4,
|
||||||
shadowColor: Theme.of(context).dividerColor.withAlpha(100),
|
shadowColor:
|
||||||
|
Theme.of(context).colorScheme.onBackground.withAlpha(64),
|
||||||
child: TextField(
|
child: TextField(
|
||||||
controller: controller.searchController,
|
controller: controller.searchController,
|
||||||
textInputAction: TextInputAction.search,
|
textInputAction: TextInputAction.search,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user