updated back button visibility
This commit is contained in:
parent
4bf7c2a6f6
commit
4045a61406
|
|
@ -74,13 +74,22 @@ class _GroupDetailsPageState extends State<GroupDetailsPage> with SingleTickerPr
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.grey.shade50,
|
backgroundColor: Colors.grey.shade50,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back, color: Colors.grey.shade800, size: 24.w),
|
||||||
|
onPressed: () => Navigator.pop(context),
|
||||||
|
tooltip: 'Back',
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
widget.group.name,
|
widget.group.name,
|
||||||
style: TextStyle(fontSize: 20.sp, fontWeight: FontWeight.w600),
|
style: TextStyle(
|
||||||
|
fontSize: 20.sp,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
color: Colors.grey.shade900,
|
||||||
|
),
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
foregroundColor: Colors.black87,
|
iconTheme: IconThemeData(color: Colors.grey.shade800),
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
actions: [
|
actions: [
|
||||||
if (widget.group.isForming)
|
if (widget.group.isForming)
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,11 @@ class _MemberGroupDetailsPageState extends State<MemberGroupDetailsPage>
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.grey.shade50,
|
backgroundColor: Colors.grey.shade50,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: IconButton(
|
||||||
|
icon: const Icon(Icons.arrow_back),
|
||||||
|
onPressed: () => Navigator.pop(context),
|
||||||
|
tooltip: 'Back',
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
widget.group.name,
|
widget.group.name,
|
||||||
style: TextStyle(fontSize: 20.sp, fontWeight: FontWeight.w600),
|
style: TextStyle(fontSize: 20.sp, fontWeight: FontWeight.w600),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue