change: Settings button to appBar

This commit is contained in:
Christian Pauly 2021-02-25 13:24:07 +01:00
commit cbc4204527
5 changed files with 37 additions and 23 deletions

View file

@ -365,8 +365,10 @@ class _SettingsState extends State<Settings> {
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) =>
<Widget>[
SliverAppBar(
elevation: 1,
automaticallyImplyLeading: false,
leading: IconButton(
icon: Icon(Icons.close_outlined),
onPressed: () => AdaptivePageLayout.of(context).popUntilIsFirst(),
),
expandedHeight: 300.0,
floating: true,
pinned: true,
@ -590,7 +592,6 @@ class _SettingsState extends State<Settings> {
],
),
),
bottomNavigationBar: DefaultBottomNavigationBar(currentIndex: 3),
);
}
}