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,
|
||||
height: size,
|
||||
child: Material(
|
||||
color: Theme.of(context).colorScheme.surfaceContainerLowest,
|
||||
color: Theme.of(context).brightness == Brightness.light
|
||||
? Colors.white
|
||||
: Colors.black,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: borderRadius,
|
||||
side: border ?? BorderSide.none,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue