fix: Avatar Border Radius
This commit is contained in:
parent
6b844a168e
commit
a8b617e096
|
@ -45,10 +45,12 @@ class Avatar extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
final noPic = mxContent == null || mxContent.toString().isEmpty;
|
||||
final borderRadius = BorderRadius.circular(size / 2);
|
||||
return InkWell(
|
||||
onTap: onTap,
|
||||
borderRadius: borderRadius,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(size / 2),
|
||||
borderRadius: borderRadius,
|
||||
child: Container(
|
||||
width: size,
|
||||
height: size,
|
||||
|
|
Loading…
Reference in a new issue