only show appbar on member list if its a drawer
This commit is contained in:
parent
240984a832
commit
9cc18e16b8
1 changed files with 9 additions and 9 deletions
|
|
@ -34,13 +34,13 @@ class MemberList extends HookConsumerWidget {
|
|||
shape: Border(),
|
||||
child: Column(
|
||||
children: [
|
||||
if (Scaffold.of(context).hasEndDrawer)
|
||||
AppBar(
|
||||
scrolledUnderElevation: 0,
|
||||
leading: Icon(Icons.people),
|
||||
title: Text("Members"),
|
||||
actionsPadding: .only(right: 4),
|
||||
actions: [
|
||||
if (Scaffold.of(context).hasEndDrawer)
|
||||
IconButton(
|
||||
onPressed: Scaffold.of(context).closeEndDrawer,
|
||||
icon: Icon(Icons.close),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue