Allow search widget to be constructed with or without an app bar

This commit is contained in:
Oliver Walters 2022-05-04 10:42:33 +10:00
parent b6a5af08d8
commit a3597c5d61
4 changed files with 31 additions and 11 deletions

View file

@ -41,7 +41,7 @@ class InvenTreeDrawer extends StatelessWidget {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SearchWidget()
builder: (context) => SearchWidget(true)
)
);
}