Hide the search widget for now
This commit is contained in:
parent
489ff893d1
commit
89566858ea
1 changed files with 18 additions and 18 deletions
|
@ -81,24 +81,24 @@ class _HomeWidgetState extends State<HomeWidget> {
|
|||
],
|
||||
index: _selectedNavBarItem,
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (BuildContext context) {
|
||||
return SearchPage();
|
||||
},
|
||||
),
|
||||
);
|
||||
},
|
||||
child: Icon(
|
||||
Icons.search,
|
||||
size: 28,
|
||||
),
|
||||
elevation: 1,
|
||||
backgroundColor: Colors.black38,
|
||||
foregroundColor: Theme.of(context).accentColor,
|
||||
),
|
||||
// floatingActionButton: FloatingActionButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(context).push(
|
||||
// MaterialPageRoute(
|
||||
// builder: (BuildContext context) {
|
||||
// return SearchPage();
|
||||
// },
|
||||
// ),
|
||||
// );
|
||||
// },
|
||||
// child: Icon(
|
||||
// Icons.search,
|
||||
// size: 28,
|
||||
// ),
|
||||
// elevation: 1,
|
||||
// backgroundColor: Colors.black38,
|
||||
// foregroundColor: Theme.of(context).accentColor,
|
||||
// ),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue