feat: fixed overflow

This commit is contained in:
Deven Joshi
2020-12-31 20:27:51 +05:30
parent 607a51daad
commit 7c8d5a643f
+14 -10
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(
padding: const EdgeInsets.symmetric(horizontal: 16.0), child: Padding(
child: ChannelName( padding: const EdgeInsets.symmetric(horizontal: 16.0),
textStyle: StreamChatTheme.of(context).textTheme.headlineBold, child: ChannelName(
textStyle: StreamChatTheme.of(context).textTheme.headlineBold,
),
), ),
), ),
SizedBox( SizedBox(
height: 5.0, height: 5.0,
), ),
ChannelInfo( Center(
showTypingIndicator: false, child: ChannelInfo(
channel: StreamChannel.of(context).channel, showTypingIndicator: false,
textStyle: StreamChatTheme.of(context).channelPreviewTheme.subtitle, channel: StreamChannel.of(context).channel,
textStyle:
StreamChatTheme.of(context).channelPreviewTheme.subtitle,
),
), ),
SizedBox( SizedBox(
height: 17.0, height: 17.0,