From 38dd71891462ecfabc6a977dad27d33888934f63 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 20 Jan 2021 15:46:45 +0530 Subject: [PATCH] fix: Fix modal user avatar border --- packages/flutter_widgets/lib/src/image_footer.dart | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/flutter_widgets/lib/src/image_footer.dart b/packages/flutter_widgets/lib/src/image_footer.dart index 0c7a463a..0131561e 100644 --- a/packages/flutter_widgets/lib/src/image_footer.dart +++ b/packages/flutter_widgets/lib/src/image_footer.dart @@ -272,10 +272,7 @@ class _ImageFooterState extends State { clipBehavior: Clip.antiAlias, decoration: BoxDecoration( shape: BoxShape.circle, - color: StreamChatTheme.of(context) - .colorTheme - .white - .withOpacity(0.6), + color: Colors.white.withOpacity(0.6), boxShadow: [ BoxShadow( blurRadius: 8.0, @@ -286,7 +283,7 @@ class _ImageFooterState extends State { ), ], ), - padding: const EdgeInsets.all(1), + padding: const EdgeInsets.all(2), child: UserAvatar( user: widget.message.user, constraints: