mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-12 12:13:01 +00:00
Add floating-action button to StockDetail view
This commit is contained in:
parent
47208155ae
commit
359b5d9b4a
@ -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(),
|
||||
|
@ -225,7 +225,7 @@ packages:
|
||||
name: preferences
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.1.0"
|
||||
version: "5.2.0"
|
||||
qr_utils:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
14
pubspec.yaml
14
pubspec.yaml
@ -26,15 +26,11 @@ dependencies:
|
||||
http: ^0.12.0+2
|
||||
shared_preferences: ^0.5.3+1
|
||||
|
||||
flutter_advanced_networkimage: any
|
||||
|
||||
preferences: ^5.1.0
|
||||
|
||||
qr_utils: ^0.1.4
|
||||
|
||||
package_info: ^0.4.0+16
|
||||
|
||||
font_awesome_flutter: ^8.8.1
|
||||
flutter_advanced_networkimage: any # Pull image from network or cache
|
||||
preferences: ^5.1.0 # Persistent settings storage
|
||||
qr_utils: ^0.1.4 # Barcode / QR-code support
|
||||
package_info: ^0.4.0+16 # App information introspection
|
||||
font_awesome_flutter: ^8.8.1 # FontAwesome icon set
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
Loading…
x
Reference in New Issue
Block a user