From bb9052c331ba39c2522900ba23297bcfaa697b79 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 31 Dec 2020 17:37:20 +0530 Subject: [PATCH] fix: fixed alignment and font weight --- lib/src/channel_bottom_sheet.dart | 4 +++- lib/src/option_list_tile.dart | 15 +++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/src/channel_bottom_sheet.dart b/lib/src/channel_bottom_sheet.dart index 695f34c6..2d7b726c 100644 --- a/lib/src/channel_bottom_sheet.dart +++ b/lib/src/channel_bottom_sheet.dart @@ -92,9 +92,11 @@ class _ChannelBottomSheetState extends State { if (!(channel.isDistinct && channel.memberCount == 2)) Container( height: 94.0, + alignment: Alignment.center, child: ListView.builder( scrollDirection: Axis.horizontal, itemCount: members.length, + shrinkWrap: true, itemBuilder: (context, index) { return Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), @@ -127,7 +129,7 @@ class _ChannelBottomSheetState extends State { ), ), SizedBox( - height: 17.0, + height: 24.0, ), OptionListTile( leading: StreamSvgIcon.user( diff --git a/lib/src/option_list_tile.dart b/lib/src/option_list_tile.dart index c1f48b71..040b1a00 100644 --- a/lib/src/option_list_tile.dart +++ b/lib/src/option_list_tile.dart @@ -41,12 +41,15 @@ class OptionListTile extends StatelessWidget { width: 16.0, ), Expanded( - flex: 4, - child: Text( - title, - style: TextStyle( - fontWeight: FontWeight.w600, color: titleColor), - )), + flex: 4, + child: Text( + title, + style: TextStyle( + fontWeight: FontWeight.bold, + color: titleColor, + ), + ), + ), Expanded( flex: 2, child: Padding(