chore: Follow up avatar background

pull/1239/head
krille-chan 1 year ago
parent 7fef3a69d8
commit e178ab4416
No known key found for this signature in database

@ -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…
Cancel
Save