fix: fixed alignment and font weight
This commit is contained in:
@@ -92,9 +92,11 @@ class _ChannelBottomSheetState extends State<ChannelBottomSheet> {
|
|||||||
if (!(channel.isDistinct && channel.memberCount == 2))
|
if (!(channel.isDistinct && channel.memberCount == 2))
|
||||||
Container(
|
Container(
|
||||||
height: 94.0,
|
height: 94.0,
|
||||||
|
alignment: Alignment.center,
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
itemCount: members.length,
|
itemCount: members.length,
|
||||||
|
shrinkWrap: true,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||||
@@ -127,7 +129,7 @@ class _ChannelBottomSheetState extends State<ChannelBottomSheet> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 17.0,
|
height: 24.0,
|
||||||
),
|
),
|
||||||
OptionListTile(
|
OptionListTile(
|
||||||
leading: StreamSvgIcon.user(
|
leading: StreamSvgIcon.user(
|
||||||
|
|||||||
@@ -41,12 +41,15 @@ class OptionListTile extends StatelessWidget {
|
|||||||
width: 16.0,
|
width: 16.0,
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 4,
|
flex: 4,
|
||||||
child: Text(
|
child: Text(
|
||||||
title,
|
title,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: FontWeight.w600, color: titleColor),
|
fontWeight: FontWeight.bold,
|
||||||
)),
|
color: titleColor,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 2,
|
flex: 2,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user