feat: fixed overflow

This commit is contained in:
Deven Joshi
2020-12-31 20:27:51 +05:30
parent 607a51daad
commit 7c8d5a643f
+9 -5
View File
@@ -33,25 +33,29 @@ class _ChannelBottomSheetState extends State<ChannelBottomSheet> {
topRight: Radius.circular(16.0), topRight: Radius.circular(16.0),
), ),
), ),
child: Column( child: ListView(
mainAxisSize: MainAxisSize.min,
children: [ children: [
SizedBox( SizedBox(
height: 24.0, height: 24.0,
), ),
Padding( Center(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0), padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: ChannelName( child: ChannelName(
textStyle: StreamChatTheme.of(context).textTheme.headlineBold, textStyle: StreamChatTheme.of(context).textTheme.headlineBold,
), ),
), ),
),
SizedBox( SizedBox(
height: 5.0, height: 5.0,
), ),
ChannelInfo( Center(
child: ChannelInfo(
showTypingIndicator: false, showTypingIndicator: false,
channel: StreamChannel.of(context).channel, channel: StreamChannel.of(context).channel,
textStyle: StreamChatTheme.of(context).channelPreviewTheme.subtitle, textStyle:
StreamChatTheme.of(context).channelPreviewTheme.subtitle,
),
), ),
SizedBox( SizedBox(
height: 17.0, height: 17.0,