Hide the search widget for now

This commit is contained in:
Vishnu Mohandas 2020-11-01 22:31:14 +05:30
parent 489ff893d1
commit 89566858ea

View file

@ -81,24 +81,24 @@ class _HomeWidgetState extends State<HomeWidget> {
], ],
index: _selectedNavBarItem, index: _selectedNavBarItem,
), ),
floatingActionButton: FloatingActionButton( // floatingActionButton: FloatingActionButton(
onPressed: () { // onPressed: () {
Navigator.of(context).push( // Navigator.of(context).push(
MaterialPageRoute( // MaterialPageRoute(
builder: (BuildContext context) { // builder: (BuildContext context) {
return SearchPage(); // return SearchPage();
}, // },
), // ),
); // );
}, // },
child: Icon( // child: Icon(
Icons.search, // Icons.search,
size: 28, // size: 28,
), // ),
elevation: 1, // elevation: 1,
backgroundColor: Colors.black38, // backgroundColor: Colors.black38,
foregroundColor: Theme.of(context).accentColor, // foregroundColor: Theme.of(context).accentColor,
), // ),
); );
} }