diff --git a/lib/components/searchResults.dart b/lib/components/searchResults.dart index 680b691..18ecc32 100644 --- a/lib/components/searchResults.dart +++ b/lib/components/searchResults.dart @@ -114,10 +114,21 @@ class _SearchResultsState extends State { color: Colors.grey, icon: Icons.filter_alt_rounded, text: "Filtruj", - onPressed: () {}, + onPressed: () => ScaffoldState().openDrawer(), ), ], ), + drawer: Drawer( + child: ListView( + padding: EdgeInsets.zero, + children: [ + DrawerHeader( + decoration: BoxDecoration(color: Colors.grey[850]), + child: Text('Filtry'), + ) + ], + ), + ), ); } }