From ed01bc3ad192506e7614a84a30ae956b574001b7 Mon Sep 17 00:00:00 2001 From: kshib Date: Sat, 2 Mar 2024 16:38:08 +0530 Subject: [PATCH] remove search bar --- lib/pages/feed.dart | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/pages/feed.dart b/lib/pages/feed.dart index bba004b..04ab234 100644 --- a/lib/pages/feed.dart +++ b/lib/pages/feed.dart @@ -38,16 +38,6 @@ class _FeedPageState extends State child: Scaffold( appBar: AppBar( title: _isSearching ? TextField() : Text('What\'s happening?'), - actions: [ - IconButton( - icon: Icon( _isSearching ? Icons.close: Icons.search), - onPressed: () { - setState(() { - _isSearching = !_isSearching; - }); - }, - ), - ], ), body: RefreshIndicator( key: _refreshIndicatorKey,