change: Settings button to appBar
This commit is contained in:
parent
717980744d
commit
cbc4204527
5 changed files with 37 additions and 23 deletions
|
|
@ -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),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue