fix: fixed alignment and font weight

This commit is contained in:
Deven Joshi
2020-12-31 17:37:20 +05:30
parent ca6bd62084
commit bb9052c331
2 changed files with 12 additions and 7 deletions
+3 -1
View File
@@ -92,9 +92,11 @@ class _ChannelBottomSheetState extends State<ChannelBottomSheet> {
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<ChannelBottomSheet> {
),
),
SizedBox(
height: 17.0,
height: 24.0,
),
OptionListTile(
leading: StreamSvgIcon.user(
+9 -6
View File
@@ -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(