2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

Add floating-action button to StockDetail view

This commit is contained in:
Oliver Walters
2020-04-07 11:12:45 +10:00
parent 47208155ae
commit 359b5d9b4a
3 changed files with 11 additions and 10 deletions

View File

@ -159,6 +159,11 @@ class _StockItemDisplayState extends State<StockDetailWidget> {
title: Text("Stock Item"),
),
drawer: new InvenTreeDrawer(context),
floatingActionButton: FloatingActionButton(
child: FaIcon(FontAwesomeIcons.ellipsisH),
// TODO: Add pop-up icons
// REF: https://stackoverflow.com/questions/46480221/flutter-floating-action-button-with-speed-dial#46480722
),
body: Center(
child: ListView(
children: stockTiles(),