fix small backbuttons
This commit is contained in:
@@ -77,7 +77,6 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
|||||||
showOnlineStatus: false,
|
showOnlineStatus: false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
//SizedBox(height: 4.0),
|
|
||||||
Text(
|
Text(
|
||||||
widget.user.name,
|
widget.user.name,
|
||||||
style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold),
|
style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold),
|
||||||
@@ -105,16 +104,10 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
top: 21,
|
top: 0,
|
||||||
left: 16,
|
left: 0,
|
||||||
child: InkWell(
|
width: 58,
|
||||||
child: StreamSvgIcon.left(
|
child: StreamBackButton(),
|
||||||
color: StreamChatTheme.of(context).colorTheme.black,
|
|
||||||
),
|
|
||||||
onTap: () {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
},
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -445,21 +438,7 @@ class __SharedGroupsScreenState extends State<_SharedGroupsScreen> {
|
|||||||
color: StreamChatTheme.of(context).colorTheme.black,
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
fontSize: 16.0),
|
fontSize: 16.0),
|
||||||
),
|
),
|
||||||
leading: Center(
|
leading: StreamBackButton(),
|
||||||
child: InkWell(
|
|
||||||
onTap: () {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
},
|
|
||||||
child: Container(
|
|
||||||
child: StreamSvgIcon.left(
|
|
||||||
color: StreamChatTheme.of(context).colorTheme.black,
|
|
||||||
size: 24.0,
|
|
||||||
),
|
|
||||||
width: 24.0,
|
|
||||||
height: 24.0,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
||||||
),
|
),
|
||||||
body: StreamBuilder<List<Channel>>(
|
body: StreamBuilder<List<Channel>>(
|
||||||
|
|||||||
@@ -84,18 +84,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
elevation: 1.0,
|
elevation: 1.0,
|
||||||
toolbarHeight: 56.0,
|
toolbarHeight: 56.0,
|
||||||
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
||||||
leading: InkWell(
|
leading: StreamBackButton(),
|
||||||
onTap: () {
|
|
||||||
Navigator.pop(context);
|
|
||||||
},
|
|
||||||
child: Padding(
|
|
||||||
padding: const EdgeInsets.only(left: 12.0),
|
|
||||||
child: StreamSvgIcon.left(
|
|
||||||
color: StreamChatTheme.of(context).colorTheme.black,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
leadingWidth: 36.0,
|
|
||||||
title: Column(
|
title: Column(
|
||||||
children: [
|
children: [
|
||||||
StreamBuilder<ChannelState>(
|
StreamBuilder<ChannelState>(
|
||||||
|
|||||||
Reference in New Issue
Block a user