Merge branch 'feature/new-ui' of https://github.com/GetStream/stream-chat-flutter into doc-fixes-2.3

This commit is contained in:
Deven Joshi
2021-01-20 15:43:05 +05:30
3 changed files with 9 additions and 7 deletions
@@ -77,6 +77,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
return Scaffold( return Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow, backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
appBar: AppBar( appBar: AppBar(
brightness: Theme.of(context).brightness,
elevation: 1.0, elevation: 1.0,
toolbarHeight: 56.0, toolbarHeight: 56.0,
backgroundColor: StreamChatTheme.of(context).colorTheme.white, backgroundColor: StreamChatTheme.of(context).colorTheme.white,
@@ -189,6 +189,7 @@ class _ImageFooterState extends State<ImageFooter> {
return DraggableScrollableSheet( return DraggableScrollableSheet(
expand: false, expand: false,
initialChildSize: initialChildSize / size.height, initialChildSize: initialChildSize / size.height,
minChildSize: initialChildSize / size.height,
builder: (context, scrollController) { builder: (context, scrollController) {
return SingleChildScrollView( return SingleChildScrollView(
controller: scrollController, controller: scrollController,
@@ -447,7 +447,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
} }
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.reply( StreamSvgIcon.reply(
@@ -468,7 +468,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
return InkWell( return InkWell(
onTap: () => _showFlagDialog(), onTap: () => _showFlagDialog(),
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.icon_flag( StreamSvgIcon.icon_flag(
@@ -491,7 +491,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
return InkWell( return InkWell(
onTap: () => _showDeleteDialog(), onTap: () => _showDeleteDialog(),
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.delete( StreamSvgIcon.delete(
@@ -518,7 +518,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
Navigator.pop(context); Navigator.pop(context);
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.copy( StreamSvgIcon.copy(
@@ -543,7 +543,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
_showEditBottomSheet(context); _showEditBottomSheet(context);
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.edit( StreamSvgIcon.edit(
@@ -575,7 +575,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
} }
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.circle_up( StreamSvgIcon.circle_up(
@@ -670,7 +670,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
} }
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), padding: const EdgeInsets.symmetric(vertical: 11.0, horizontal: 16.0),
child: Row( child: Row(
children: [ children: [
StreamSvgIcon.thread( StreamSvgIcon.thread(