providers/inventory_provider library
Classes
- InventoryOperations
- Inventory operations notifier
- Items
- Items provider with pagination and search
- Locations
- Locations provider
Functions
-
item(
Ref ref, String itemId) → Future< Item> - Individual item provider
-
itemStock(
Ref ref, String itemId) → Future< List< StockEntry> > - Item stock provider
-
location(
Ref ref, String locationId) → Future< Location> - Individual location provider
-
locationStock(
Ref ref, String locationId, {QueryParams? query}) → Future< PaginatedResponse< StockEntry> > - Location stock provider
-
lowStockItems(
Ref ref) → Future< List< StockEntry> > - Low stock items provider
-
stockMovements(
Ref ref, {String? itemId, String? locationId, QueryParams? query}) → Future< PaginatedResponse< StockMovement> > - Stock movements provider
-
stockValueByLocation(
Ref ref) → Future< Map< String, double> > - Stock value by location provider