mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
is FilteredItems
This commit is contained in:
parent
90b643e216
commit
90abb5ccb0
1 changed files with 4 additions and 4 deletions
|
|
@ -191,7 +191,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
},
|
},
|
||||||
items: buildBottomNavigationBarItems(),
|
items: buildBottomNavigationBarItems(),
|
||||||
),
|
),
|
||||||
endDrawer: Drawer(
|
endDrawer: item is FilteredItems ? Drawer(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
// Important: Remove any padding from the ListView.
|
// Important: Remove any padding from the ListView.
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
|
|
@ -240,10 +240,10 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
) : null,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text(widget.id),
|
title: Text(widget.id),
|
||||||
actions: [
|
actions: item is FilteredItems ? [
|
||||||
Builder(
|
Builder(
|
||||||
builder: (context) => IconButton(
|
builder: (context) => IconButton(
|
||||||
icon: SvgPicture.asset(
|
icon: SvgPicture.asset(
|
||||||
|
|
@ -256,7 +256,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip,
|
tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
] : null,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue