mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 04:15:09 +00:00
chore: Follow up avatar background
This commit is contained in:
parent
7fef3a69d8
commit
e178ab4416
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ class Avatar extends StatelessWidget {
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
child: Material(
|
child: Material(
|
||||||
color: Theme.of(context).colorScheme.surfaceContainerLowest,
|
color: Theme.of(context).brightness == Brightness.light
|
||||||
|
? Colors.white
|
||||||
|
: Colors.black,
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: borderRadius,
|
borderRadius: borderRadius,
|
||||||
side: border ?? BorderSide.none,
|
side: border ?? BorderSide.none,
|
||||||
|
|
Loading…
Reference in a new issue