From 2e12742165396ce30c7afdedfc7d85ee7a20c0d9 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 20 Jan 2021 13:31:04 +0530 Subject: [PATCH] fix: centered and made online indicator in chat_info_screen.dart smaller --- packages/flutter_widgets/example/lib/chat_info_screen.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter_widgets/example/lib/chat_info_screen.dart b/packages/flutter_widgets/example/lib/chat_info_screen.dart index 4106b96e..a6b14dec 100644 --- a/packages/flutter_widgets/example/lib/chat_info_screen.dart +++ b/packages/flutter_widgets/example/lib/chat_info_screen.dart @@ -382,7 +382,7 @@ class _ChatInfoScreenState extends State { child: Container( padding: const EdgeInsets.symmetric(horizontal: 8.0), constraints: BoxConstraints.tightFor( - width: 28, + width: 24, height: 12, ), child: Material( @@ -393,6 +393,10 @@ class _ChatInfoScreenState extends State { color: StreamChatTheme.of(context).colorTheme.white, ), alternativeWidget, + if (widget.user.online) + SizedBox( + width: 24.0, + ), ], ); }