mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-28 16:25:05 +00:00
Add some getters
This commit is contained in:
1 parent
1d7d3def04
commit
56dd22c656
3 files changed
+39
-1
No files matched your search
@@ -31,10 +31,22 @@ class _StockItemTestResultDisplayState extends RefreshableState<StockItemTestRes
|
||||
|
||||
_StockItemTestResultDisplayState(this.item);
|
||||
|
||||
// Squish together templates and results
|
||||
|
||||
List<Widget> resultsList() {
|
||||
List<Widget> items = [];
|
||||
|
||||
items.add(ListTile(
|
||||
title: Text("Test results"),
|
||||
));
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
@override
|
||||
Widget getBody(BuildContext context) {
|
||||
return ListView(
|
||||
|
||||
children: resultsList(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user